nican VIP
Total posts: 392
13 Март 2014 15:45

I can't find the language variables to translate the subscription duration (eg. 365 Days)

I did found some language variables for days, weeks, months,... but they seem to translate only the labels of the various select menus in the admin panel, and not affect the subscription duration whcih the user will see in the subscription page

emerald_plan_duration

Последние изменения: 20 Март 2014


Sergey
Total posts: 13,748
14 Март 2014 06:34

You can find in language file something liek this.

DAYS="Days"
DAYS_1="Day"
YEARS="Years"
YEARS_1="Year"
WEEKS="Weeks"
WEEKS_1="Week"
MONTHS="Months"
MONTHS_1="Month"

nican VIP
Total posts: 392
14 Март 2014 10:03

yep, I translated them

MONTHS="mesi"
MONTHS_1="mese"
DAYS="giorni"
DAYS_1="giorno"
WEEKS="settimane"
WEEKS_1="settimana"
YEARS="anni"
YEARS_1="anno"

but I still see teh english text in forntend

http://www.alkemica.net/iscrizioni


Sergey
Total posts: 13,748
14 Март 2014 10:30

Where are your translations? In language overrides or in italian emerald language file?

If not try to create one.


nican VIP
Total posts: 392
14 Март 2014 11:14

they are in it-IT.com_emerald language file

all the other translation there are working just fine


Sergey
Total posts: 13,748
14 Март 2014 11:57

I do not know why. Do you have custom template for plan list? If so try to use latest one and see if there any difference.


nican VIP
Total posts: 392
14 Март 2014 12:01

Sergey Do you have custom template for plan list?

nope, I am using table template, the default one anyway, it's not a big issue, I'll investigate it when I have some extra time, thank you


Konstantin
Total posts: 1,113
17 Март 2014 06:23

If you give superadmin access to back end we check it.


nican VIP
Total posts: 392
18 Март 2014 10:59

Konstantin If you give superadmin access to back end we check it.

yes please, I updated the main topic with the access details I tooka closer look to the issue but can't find what is causing it

the language file I am using to translate emerald is it-IT.com_emerald.ini I attach it

it-IT.com_emerald.ini

thank you


Konstantin
Total posts: 1,113
18 Март 2014 12:58

I think it's overrides somewhere. Can you give ziped folder en-GB of languages and we try to find a problem.


nican VIP
Total posts: 392
18 Март 2014 15:51

I attach zipped it-IT and en-GB folders en-GB


Konstantin
Total posts: 1,113
19 Март 2014 07:14

It was not easy...

Problem was in file en-GB.tpl_rt_paradigm.ini in your template, translate it or remove duplicate keys.


nican VIP
Total posts: 392
20 Март 2014 10:12

thank you so much for taking the time to help me solve this! I really appreciate it.

btw did you sue any particular software to search on all language files at the same time... "sublime text editor" maybe?

thank you again


Sergey
Total posts: 13,748
20 Март 2014 13:24

If you work localy you can search, if you work over FTP not every editor will do.

If FTP you can use PHPStorm. When it created project it downloads all the site. Then you can search it locally.


pepperstreet VIP
Total posts: 3,837
20 Март 2014 13:34

In general, language constants should always have a prefix, IMHO. i.e.:

  • EM_ for Emerald
  • COB_ CO_ for Cobalt
  • MJ_ for MintJoomla

or maybe a combo MJEM_ or MJCO_ ...

Работает на Cobalt