Viewing 15 posts - 1 through 15 (of 18 total)
  • Author
    Posts
  • Pankaj Sharma Moderator
    #555149

    HI 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

    yaodesign Friend
    #555221

    I have just created a french file and upload it into the french folder.

    WS Friend
    #973573

    I 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 Moderator
    #973623

    @WS
    Kindly post your site details via Private reply .
    Also send me FTP details of site , i will take a look on it .

    WS Friend
    #973909
    This reply has been marked as private.
    Pankaj Sharma Moderator
    #973939
    This reply has been marked as private.
    WS Friend
    #974235
    This reply has been marked as private.
    Pankaj Sharma Moderator
    #974244

    Hi
    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 above

    HI 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

    WS Friend
    #974323
    This reply has been marked as private.
    Pankaj Sharma Moderator
    #974330

    Hi
    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 .

    WS Friend
    #974453
    This reply has been marked as private.
    WS Friend
    #974464
    This reply has been marked as private.
    Pankaj Sharma Moderator
    #974465

    Hi
    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/cqzm5a

    But 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/cqzk1c

    WS Friend
    #974651
    This reply has been marked as private.
    Pankaj Sharma Moderator
    #974680

    Hi
    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 .

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

This topic contains 18 replies, has 3 voices, and was last updated by  WS 7 years, 6 months ago.

The topic ‘Translate date format’ is closed to new replies.