Translations for Formidable
Permalink Browser Info Environment
If some cases you want to translate the values for some fields. For example the address-field. In USA it's called Province/State, but in the UK it's called Counties. The best solution for this is to use the default language handler of Concrete5. To do this you have to create a languagefile for the specific language you are using. If the languagefile is created you can upload this in the folder /languages/. Then go to the System and Settings page in the Dashboard and change the default language of your C5 website to the language you just added. This way the form field will be translated. To help you on your way we created a number of different versions for Formidable. You can download it at:http://www.concrete5-addons.nl/addons/formidable/languages/...
For the date element you could use a language-file but you don't need to. When you are using the datepicker you can check the "advanced"-checkbox. This way you can easily add your own values to the datepicker.
For example:
For the date element you could use a language-file but you don't need to. When you are using the datepicker you can check the "advanced"-checkbox. This way you can easily add your own values to the datepicker.
For example:
dayNamesMin:[ "Su", "Mo", "Tu", "We", "Th", "Fr", "Sa" ], dayNamesShort:[ "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" ], dayNames:[ "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" ], monthNames:[ "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" ] monthNamesShort: [ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" ]
Type: | Discussion |
---|---|
Status: | New |
Thanks! Added this to the next update....
Great!
Great!
I have installed the languages and my site is still displaying Province and Postal Code. I need it to say State & Zip Code.
I have modified the PO file to reflect this and still nothing has changed.
Amy I missing something?
I have modified the PO file to reflect this and still nothing has changed.
Amy I missing something?
Hi,
I see you are trying to change the default en_US language. In many sites I've noticed that en_US translations don't seem to be overwritten the default en_US language. There are 2 thing you can do...
1.
Go the the form in the dasboard and open the address-element. Change the format by selecting or inserting one yourself. See if this works for you.
2.
Change the source-language of your .po file to en_GB. Then upload the into your /language/en_GB directory and select as default language English. This should work also.
Please let me know if it works!
Best,
Corretje
I see you are trying to change the default en_US language. In many sites I've noticed that en_US translations don't seem to be overwritten the default en_US language. There are 2 thing you can do...
1.
Go the the form in the dasboard and open the address-element. Change the format by selecting or inserting one yourself. See if this works for you.
2.
Change the source-language of your .po file to en_GB. Then upload the into your /language/en_GB directory and select as default language English. This should work also.
Please let me know if it works!
Best,
Corretje
How about define ENABLE_TRANSLATE_LOCALE_EN_US in config/site.php ?
define('ENABLE_TRANSLATE_LOCALE_EN_US',true);
Hi Hissy,
Thank you! Didn't know that one... :)
Thank you! Didn't know that one... :)
When I made the change, it threw an error referencing the ZEND library.
I made the en_gb changed and that worked just fine.
Thanks!
I made the en_gb changed and that worked just fine.
Thanks!
formidable/libraries/3rdparty/ajaxupload/js/ajaxupload.js
I translated these messages in Ajaxupload.js into Japanese.