Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • sushismb Friend
    #152106

    Hi,

    I’m trying to find where I can translate the words “You Are Here”.

    Thank you!

    Saguaros Moderator
    #348385

    Dear pls open the file templates/ja_nickel/index.php and find the following code:

    <strong>You are here:</strong><jdoc:include type=”module” name=”breadcrumbs” />

    You try to translate the text in there

    Good luck

    sushismb Friend
    #348389

    Hello tienhc,

    Thanks for pointing out the location. However, I supposed “You are here:” is NOT in the language file. So what shall I do to have it implemented?

    Sherlock Friend
    #348739

    Dear sushismb,

    Please just replace
    <strong>You are here:</strong><jdoc:include type=”module” name=”breadcrumbs” />

    to
    <strong>JText_(“YOU ARE HERE”):</strong><jdoc:include type=”module” name=”breadcrumbs” />

    I hope that will help !

    sushismb Friend
    #348877

    Hello dathq,

    I am using Joomfish to have my site multilingual. So I would need to know where I will translate the YOU ARE HERE in any of the language files. I assume that it is NOT in the language file, therefore it is not being translated.

    I remember there was the same issue in other templates

    I’d appreciate any help. Thanks!

    Saguaros Moderator
    #349089

    Hello

    The Dat’s Solution had a mistaken, pls correct as following:

    <strong>You are here:</strong><jdoc:include type=”module” name=”breadcrumbs” />

    [PHP]
    <strong><?php echo JText::_(“YOU ARE HERE”);?>:</strong><jdoc:include type=”module” name=”breadcrumbs” />

    [/PHP]

    GOod luck

    sushismb Friend
    #349140

    How about the language file???

    Saguaros Moderator
    #349296

    you can but in the global language, languages/en-GB.ini Good luck

    sushismb Friend
    #349769

    Hello,

    OK, to summarize this;

    1) In file templates/ja_nickel/index.php, change to the following;
    <strong><?php echo JText::_(“YOU ARE HERE”);?>:</strong><jdoc:include type=”module” name=”breadcrumbs” />

    2) Add “YOU ARE HERE” in the languages/en-GB.ini and the corresponding <language>.ini file as below;
    YOU ARE HERE=You are here

    Please confirm if this is how it is?

    Thank you very much in advance.

    sushismb Friend
    #349938

    Hello,

    I’d appreciate if anyone could confirm the previous post.

    Thanks in advance!!!

    Saguaros Moderator
    #349973

    Yes’ that’s right

    sushismb Friend
    #350161

    Hello tienhc,

    GREAT! This worked. I don’t understand though why this setting is not created by default in the template.

    Anyway, one more thing, “HOME” is also not translated. Where can I find this one?

    Thank you so much for your continious support.

    Saguaros Moderator
    #350189

    Yes, it was mmissing in this template, so that we ‘ll fix this issue :),

    You translate The Home Text in the configuration of the breadscrumb module, Goodluck

    sushismb Friend
    #350257

    Hello tienhc,

    I’m sorry but I don’t understand.

    I would need to edit the language file the same way I had to do the “You Are Here”. But I didn’t find “Home” in templates/ja_nickel/index.php.

    In which specific file do I find this and do I do the same as what you instructed for the You Are Here?

    Thank you very much in advance!

    tiger9858 Friend
    #350377

    It works perfectly, sushismb, thanks

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

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

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