-
AuthorPosts
-
davidyv Friend
davidyv
- Join date:
- July 2007
- Posts:
- 97
- Downloads:
- 1
- Uploads:
- 10
- Thanks:
- 4
- Thanked:
- 2 times in 1 posts
September 7, 2010 at 2:26 am #154100Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
September 8, 2010 at 4:38 am #354876now, you copy this file: the pluginssystemjat3base-themesdefaultblocksusertoolsprofiles.php and copy it into the templates/ja_droid/usertools/ folder. And You open the copying file, and find the fillowing code:
[PHP]
<?php echo $profile ?>
[/PHP]
replace:
[PHP]
<?php echo JText::_($profile) ?>
[/PHP]and then you make some translating text into the languageen-GBen-GB.tpl_ja_droid.ini as following:
DEFAULT=Default
GREY-COLOR=Grey Color
GREEN-COLOR=Green Color
RED-COLOR=Red Colordavidyv Frienddavidyv
- Join date:
- July 2007
- Posts:
- 97
- Downloads:
- 1
- Uploads:
- 10
- Thanks:
- 4
- Thanked:
- 2 times in 1 posts
September 8, 2010 at 8:19 am #354905Thank tienhc for your inspiration! The following step is ok:
First we need to copy this file:
/plugins/system/jat3/base-themes/default/blocks/usertools/profiles.php
to this location, creating the appropriate directories in the event they don’t already exist:
/templates/ja_droid/blocks/usertools/profiles.php
And You open the copying file, and find the fillowing code:
[PHP]<label for=”user_profile_<?php echo $profile ?>” title=”<?php echo $profile ?>”><span><?php echo $profile ?></span>[/PHP]replace:
[PHP]<label for=”user_profile_<?php echo $profile ?>” title=”<?php echo JText::_($profile) ?>”><span><?php echo JText::_($profile) ?></span>[/PHP]
And we need to copy this file:
/language/en-GB/en-GB.tpl_ja_droid.ini
to this location:
languageYOUR LANG CODE(IE: languagezh-CN)
And rename the en-GB.tpl_ja_droid.ini to YOUR LANG CODE.tpl_ja_droid.ini(IE: zh-CN.tpl_ja_droid.ini)
And You open the renamed file to make some translating text as following:
DEFAULT=YOUR LANG NAME
GREY-COLOR=YOUR LANG NAME
GREEN-COLOR=YOUR LANG NAME
RED-COLOR=YOUR LANG NAME
VIOLET-COLOR=YOUR LANG NAMEDone!
September 26, 2010 at 11:53 pm #356729I could not do this. Can you help please?
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
September 27, 2010 at 2:30 am #356739Did you resolve this issue , the davidyv’s solution worked for you?
AuthorPostsViewing 5 posts - 1 through 5 (of 5 total)This topic contains 5 replies, has 3 voices, and was last updated by Saguaros 14 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum
How to translation the name of these profiles in the Cpanel?
Viewing 5 posts - 1 through 5 (of 5 total)