how to translate days and months in the calendar into English in chronoforms 7
the solution for chronoforms 6 does not work here (https://www.chronoengine.com/faqs/chronoforms/chronoforms6/calendar-settings)
how can I translate the months in the calendar?
since I didn't get any information from support, I looked for it myself. Translations are in /administrator/components/com_chronoforms7/chronoforms/views/field_calendar/behaviors/field_calendar_locale/field_calendar_locale_output.php
Here I can replace for example Russian with the required translation.
But I don't know how to add another language and how to make it so that the file doesn't get overwritten when reinstalling or updating.
Can support advise me this time since I'm paying for it?
Here I can replace for example Russian with the required translation.
But I don't know how to add another language and how to make it so that the file doesn't get overwritten when reinstalling or updating.
Can support advise me this time since I'm paying for it?
at that file you can find the translation array, just add your own:
'it' => [
'days' => ['Do', 'Lu', 'Ma', 'Me', 'Gi', 'Ve', 'Sa'],
"fulldays" => ["Domenica", "Lunedì", "Martedì", "Mercoledì", "Giovedì", "Venerdì", "Sabato"],
'months' => ['Gennaio', 'Febbraio', 'Marzo', 'Aprile', 'Maggio', 'Giugno', 'Luglio', 'Agosto', 'Settembre', 'Ottobre', 'Novembre', 'Dicembre'],
'monthsshort' => ['Gen', 'Feb', 'Mar', 'Apr', 'Mag', 'Giu', 'Lug', 'Ago', 'Set', 'Ott', 'Nov', "Dic"],
],
When I add another item in that field, it doesn't appear in the arministration as an option, I have to overwrite some existing language.
And how do I make sure that this is not overwritten when updating chronoforms?
And how do I make sure that this is not overwritten when updating chronoforms?
You need to login to be able to post a reply.