-
AuthorPosts
-
June 8, 2013 at 1:37 pm #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
pavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
June 8, 2013 at 2:27 pm #495199Hi
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
1 user says Thank You to pavit for this useful post
June 8, 2013 at 7:14 pm #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
pavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
June 8, 2013 at 7:17 pm #495213Hi
<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
1 user says Thank You to pavit for this useful post
June 8, 2013 at 7:39 pm #495216UPD: 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
pavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
June 8, 2013 at 7:43 pm #495217File 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'); ?>1 user says Thank You to pavit for this useful post
-
AuthorPosts
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