Greetings.
I'm trying to enable a new language for chronoforms7 calendar component.
I found out there are two php files under:
field_calendar_locale_output.php
These files hold internationalization configuration for the calendar. Currently these are the languages available.
I believe we must change these two php files to include a new language.
That being so, i ask: is this the only option we have for enabling a new language for the calendar component? Isn't there a way to do this with javascript or directly on the form?
Best Regards.
Erick
I'm trying to enable a new language for chronoforms7 calendar component.
I found out there are two php files under:
/administrator/components/com_chronoforms7/chronoforms/views/field_calendar/behaviors/field_calendar_localefield_calendar_locale_config.php and
field_calendar_locale_output.php
These files hold internationalization configuration for the calendar. Currently these are the languages available.
<option value=""><?php el3('Auto'); ?></option>As you can see, there are only a few options and we are trying to use the Portuguese language.
<option value="en"><?php el3('English'); ?></option>
<option value="de"><?php el3('German'); ?></option>
<option value="it"><?php el3('Italian'); ?></option>
<option value="ru"><?php el3('Russian'); ?></option>
<option value="nl"><?php el3('Dutch'); ?></option>
<option value="fr"><?php el3('French'); ?></option>
<option value="sp"><?php el3('Spanish'); ?></option>
I believe we must change these two php files to include a new language.
That being so, i ask: is this the only option we have for enabling a new language for the calendar component? Isn't there a way to do this with javascript or directly on the form?
Best Regards.
Erick