CalcBuilder Forum

Changing the language?

User dabroman 2015-10-13 10:30:17

Hi,

How can i change the language to Swedish? I need the fields "This field is required." and the "Reset button" to get translated.
If i want to make overrides, which constant do i use?

Moonsoft support 2015-10-13 11:43:09

Hi,
the extension follows default joomla language files for handling translation, so you will find all fixed texts (like the reset text) to translate here:


JOOMLA\language\en-GB\en-GB.com_calcbuilder.ini (front end component view)
JOOMLA\language\en-GB\en-GB.mod_calcbuilder.ini (front end module view)
JOOMLA\administrator\language\en-GB\en-GB.com_calcbuilder.ini (back end)


There are other messages regarding jquery validator that should be translated using the calculator configuration, this is the case of the required text for fields, please find the information here:

https://www.moonsoft.es/es/help/2-cbsupport/2675-re-modify-error-message
https://www.moonsoft.es/en/help/2-cbsupport/1650-translate-this-field-is-required


For your case, if you have a swedish language pack, in order to override you should use the language folder sv-SE and rename all files accordingly
sv-SE.com_calcbuilder.ini
sv-SE.mod_calcbuilder.ini


Hope this helps, regards

...
Support/development 10 hours

Get a bigger amount of hours for more complex tasks and get a 10% discount

Buy now!
...
CalcBuilder

Create dynamic calculators

Buy now!