-
AuthorPosts
-
Pankaj Sharma Moderator
Pankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
November 14, 2014 at 1:45 am #555149HI you can change the relative time words from
find languageen-GBen-GB.tpl_ja_magz.ini
if you site is in French then change it in \languagefr-FRfr-FR.tpl_ja_magz.ini
;Relative Time
TPL_RT_FUTURE ="in %s"
TPL_RT_PAST ="%s ago"
TPL_RT_NOW ="just now"
TPL_RT_YEAR ="1 year"
TPL_RT_YEARS ="%d years"
TPL_RT_MONTH ="1 month"
TPL_RT_MONTHS ="%d months"
TPL_RT_WEEK ="1 week"
TPL_RT_WEEKS ="%d weeks"
TPL_RT_DAY ="1 day"
TPL_RT_DAYS ="%d days"
TPL_RT_HOUR ="1 hour"
TPL_RT_HOURS ="%d hours"
TPL_RT_MIN ="1 min"
TPL_RT_MINS ="%d mins"
TPL_RT_SEC ="1 sec"
TPL_RT_SECS ="%d secs"Hope it helps you
1 user says Thank You to Pankaj Sharma for this useful post
November 14, 2014 at 11:27 am #555221I have just created a french file and upload it into the french folder.
October 4, 2016 at 9:37 pm #973573I have the same problem. I have multilingual site. I have translated the relative time words. However the relative dates have changed in the main body ("Latest."). In the "Popular" and the "Latest" modules from home-10, home-11, home-12 the relative time words are still in English.
Please inform me how to translate these relative time words.
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
October 5, 2016 at 2:02 am #973623@WS
Kindly post your site details via Private reply .
Also send me FTP details of site , i will take a look on it .October 5, 2016 at 11:26 pm #973909This reply has been marked as private.Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
October 6, 2016 at 1:57 am #973939This reply has been marked as private.October 6, 2016 at 8:52 pm #974235This reply has been marked as private.Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
October 6, 2016 at 11:48 pm #974244Hi
Can u check the FTP details and send me the working FTP details , current details not working for me .
Also try to copy the language file in your 2nd language folder with same language name. like in my example aboveHI you can change the relative time words from
find languageen-GBen-GB.tpl_ja_magz.ini
if you site is in French then change it in languagefr-FRfr-FR.tpl_ja_magz.iniOctober 7, 2016 at 7:52 am #974323This reply has been marked as private.Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
October 7, 2016 at 8:14 am #974330Hi
This is the error i am getting on your on Filezilla > http://prntscr.com/cqurrz
Seems the Host is incorrect .There are two language folders – for English and Polish language.
I have created ini file with Polish translation: templates/ja_magz/language/pl-PL/pl-PL.tpl_ja_magz.ini
But the changes work only of some parts of the website – as I’ve described above.
Only thing that works is to override the language constants. But typing again all constants from ini file is not a good solution.You have to change the constant from pl-PL.tpl_ja_magz.ini , so it will change for this language .
October 7, 2016 at 2:39 pm #974453This reply has been marked as private.October 7, 2016 at 3:11 pm #974464This reply has been marked as private.Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
October 7, 2016 at 3:12 pm #974465Hi
Still same error : http://prntscr.com/cqzd0z
Login incorrect . (it should use ftp)
Your site has menu items for PL language but content is not created for PL language , you have to create separate category and article to differentiate from EN .
I assigned pl language to an article > http://prntscr.com/cqzm5aBut i tested it on my localhost and edited the default constant , its working fine : http://prntscr.com/cqzjjq
You can see i added an extra P in all constants .
http://prntscr.com/cqzk1cOctober 8, 2016 at 9:28 pm #974651This reply has been marked as private.Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
October 9, 2016 at 9:35 am #974680Hi
I checked your site i found there is no file upload for the pl language as i suggested you above to upload language file in
/language/pl-PL/pl-PL.tpl_ja_magz.ini
I uploaded i on your site , now you can open this file and change the values per needs .
For testing i just change the ago with Pago
and you can see its working for all parts on your site . -
AuthorPosts
This topic contains 18 replies, has 3 voices, and was last updated by WS 8 years, 1 month ago.
The topic ‘Translate date format’ is closed to new replies.