test melih
 melih
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • tonydoe Friend
    #188083

    The original texting of the 404 page is as follows:
    Now what ? Go -> Home ! Or Find other GOAL 🙂

    It remains the same even after i have changed the default language to non-english. Is there a simple way to customize the above text?

    pavit Moderator
    #495199

    Hi

    You need to edit this file languageen-GBen-GB.tpl_ja_mendozite.ini

    ERROR_LAYOUT_PLEASE_TRY_ONE_OF_THE_FOLLOWING_PAGES="Now what ? Go"
    ERROR_LAYOUT_GO_TO_THE_HOME_PAGE="Home Page"
    ERROR_LAYOUT_HOME_PAGE="-> Home !"
    ERROR_LAYOUT_PLEASE_CONTACT_THE_SYSTEM_ADMINISTRATOR="Find other GOAL :)"

    Regards

    tonydoe Friend
    #495212

    <em>@pavit 375925 wrote:</em><blockquote>Hi

    You need to edit this file languageen-GBen-GB.tpl_ja_mendozite.ini

    ERROR_LAYOUT_PLEASE_TRY_ONE_OF_THE_FOLLOWING_PAGES="Now what ? Go"
    ERROR_LAYOUT_GO_TO_THE_HOME_PAGE="Home Page"
    ERROR_LAYOUT_HOME_PAGE="-> Home !"
    ERROR_LAYOUT_PLEASE_CONTACT_THE_SYSTEM_ADMINISTRATOR="Find other GOAL :)"

    Regards</blockquote>

    Hmm, I just did as you said but for some reason it has no effect. I disabled caching and still no luck:(

    pavit Moderator
    #495213

    Hi

    <blockquote>default language to non-english</blockquote>

    If your default language is different then english you need to have this file too

    Example your default language is French then in folder languagefr-FRfr-FR.tpl_ja_mendozite.ini

    tonydoe Friend
    #495216

    UPD: Then I created copy of this file languageru-RUru-RU.tpl_ja_mendozite.ini – and had no luck. Then I added the constants to ru-RU.override.ini and finally it worked:)
    The only problem left is the word “Or” in the original text – it seems to have no language constant and is coded directly somewhere in php file which is responsible for echoing this error page. Cant find one:(

    pavit Moderator
    #495217

    File is named error.php in templatesja-mendozite folder

    <div class="errormenu"><?php echo JText::_('ERROR_LAYOUT_PLEASE_TRY_ONE_OF_THE_FOLLOWING_PAGES'); ?> <a href="<?php echo $this->baseurl; ?>/index.php" title="<?php echo JText::_('ERROR_LAYOUT_GO_TO_THE_HOME_PAGE'); ?>"><?php echo JText::_('ERROR_LAYOUT_HOME_PAGE'); ?> </a> Or <?php echo JText::_('ERROR_LAYOUT_PLEASE_CONTACT_THE_SYSTEM_ADMINISTRATOR'); ?>

    tonydoe Friend
    #495218

    Now its just fine:) Thank you, pavit!

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

This topic contains 7 replies, has 2 voices, and was last updated by  tonydoe 11 years, 8 months ago.

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