This site uses cookies and similar technologies.

If you don't change browser settings, you agree to it.

I understand
1 year ago
8
Topic

Hi

On a French site the jform_calendar field is still displayed in english. Do you know where I can translate it please ?

thanks

cyril

Get a Book for SEBLOD
4218 Posts
Kadministrator
1 year ago
0
Level 1

I would guess trough Joomla language files, as always, JForm fields in Seblod are just a wrapper for Joomla core fields.

1 year ago
1
Level 1

Hi Klas

This was my first reaction naturally. But if you perform a search in all the *.ini files of the project, looking for 'Today' you will get:

./administrator/language/en-GB/en-GB.com_finder.ini 

./administrator/language/en-GB/en-GB.plg_cck_field_calendar.ini 

./administrator/language/en-GB/en-GB.lib_joomla.ini 

./administrator/language/en-GB/en-GB.com_cck.ini 

./language/en-GB/en-GB.com_cck_default.ini 

./language/en-GB/en-GB.lib_joomla.ini

and even if you find this string ('today') in ./administrator/language/en-GB/en-GB.lib_joomla.ini and  ./language/en-GB/en-GB.lib_joomla.ini, changing the value of JLIB_HTML_BEHAVIOR_TODAY has no effect on the frontend.


Thanks 

Cyril


4218 Posts
Kadministrator
1 year ago
0
Level 2

Have you tried administrator/language/en-GB/en-GB.plg_fields_calendar.ini ?

1 year ago
4
Level 1

Hi Klas

administrator/language/en-GB/en-GB.plg_fields_calendar.ini doesn't contain the strings that are displayed on the caldendar. For example there is no "today" inside

very weird we can't find how to translate this field

thanks

cyril 

4218 Posts
Kadministrator
1 year ago
3
Level 2

media\system\js\fields\calendar-locales\fr.js , some strings like day names also come from general Joomla language file

1 year ago
2
Level 3

Hi Klas

thanks but why in the Jcalendar field some texts appear in english while the whole site is in French ? and in a multi language site how the translation is done ?

thanks for your help

Cyril

1 year ago
1
Level 4

I dig a bit deeper and found that the same jcalendar field (opened lock) in two different forms in the same site could appear in french or in english !!

I can't find a setting on the cotnent type that would pre set the 'locales'

thanks

cyril

4218 Posts
Kadministrator
1 year ago
0
Level 5

Hi,

unless there is a bug somewhere it should simply follow the Joomla active language 

Get a Book for SEBLOD