Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • artisign Friend
    #146881

    I want to translate the usertools into german, but im unaible to find the right .js file…
    i mean this here:

    can anybody help me plz?

    Anonymous Moderator
    #326816

    Hi artisign

    You have to change in templatesja_utahia_iija_templatetools.php file

    artisign Friend
    #326876

    <em>@JA Developer 157140 wrote:</em><blockquote>Hi artisign

    You have to change in templatesja_utahia_iija_templatetools.php file</blockquote>

    Thx for youre answer! But it didnt work…:(

    [PHP] line15 var $_ja_color_themes = array (‘fresh’, ‘hot’, ‘natural’,’dark’); [/PHP]

    and for example:

    [PHP]

    line 92 <a><img style=”cursor: pointer;” title=”<?php echo JText::_(‘Increase font size’);?>” src=”<?php echo $this->templateurl();?>/images/<?php echo $this->getParam(JA_TOOL_COLOR); ?>/user-increase.<?php echo $imgext;?>” alt=”<?php echo JText::_(‘Increase font size’);?>” id=”ja-tool-increase” onclick=”switchFontSize(‘<?php echo $this->template.”_”.JA_TOOL_FONT;?>’,’inc’); return false;” /></a>[/PHP]

    if i translate it and overwrite the exist file on the server it doesnt change anything… still english… even if i delete the cache an my browser coockies…

    plz help 🙁

    Anonymous Moderator
    #326979

    Hi there

    The below is a full solution:

    => Open templatesja_utahia_iija_templatetools.php file, at about line 113, find following code section:

    <?php
    foreach ($this->_ja_color_themes as $ja_color_theme) {
    echo "
    <a><img style="cursor: pointer;" src="".$this->templateurl()."/images/".$this->getParam(JA_TOOL_COLOR)."/".$ja_color_theme.( ($this->getParam(JA_TOOL_COLOR)==$ja_color_theme) ? "-hilite" : "" ).".".$imgext."" title="".$ja_color_theme." color" alt="".$ja_color_theme." color" id="ja-tool-".$ja_color_theme."color" onclick="switchTool('".$this->template."_".JA_TOOL_COLOR."','$ja_color_theme');return false;" /></a>
    ";
    } ?>

    and change to:

    <?php
    foreach ($this->_ja_color_themes as $ja_color_theme) {
    echo "
    <a><img style="cursor: pointer;" src="".$this->templateurl()."/images/".$this->getParam(JA_TOOL_COLOR)."/".$ja_color_theme.( ($this->getParam(JA_TOOL_COLOR)==$ja_color_theme) ? "-hilite" : "" ).".".$imgext."" title="". JText::_( $ja_color_theme . " color") . "" alt="".JText::_( $ja_color_theme." color") ."" id="ja-tool-".$ja_color_theme."color" onclick="switchTool('".$this->template."_".JA_TOOL_COLOR."','$ja_color_theme');return false;" /></a>
    ";
    } ?>

    – Open language/en-GB (your_languague_name)/ en-GB.ini (your_languare_name.ini) , add following code to end of file:


    NATURAL COLOR=test 1
    FRESH COLOR=test 2
    HOT COLOR=test 3
    DARK COLOR=test 4

    here you change these red text to your languague.

    Hope it helps

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 2 voices, and was last updated by Anonymous 14 years, 4 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum