shawnmcginn
Member
I created a new french - fr-CA - (which is just a copy of fr-FR so it coincides with my system language) and for the most part I'm not having any translation issues except in the component translation for validation that appears in the speech bubble above an element (ajax validation). When I change COM_FABRIK_FAILED_VALIDATION in
components/com_fabrik/language/fr-CA/fr-CA.com_fabrik.ini it doesn't work. If I change that same placeholder in components/com_fabrik/language/en-CA/en-CA.com_fabrik.ini it works and if I comment out that value in the en-CA it will default to the value in components/com_fabrik/language/en-GB/en-GB.com_fabrik.ini.
Now here's the kicker, if I try to save the form the validation error is rendered below the field correctly. Any ideas why or how these two validations read the translated version differently? You can see what I mean in my screenshots. The only one that isn't correct is the french_ajax_validation.png. Note it says "Validation failed3443" when it should have the same text as french_validation_after_save.png which shows "failed validation (fr) test". Instead it is rendering the value from components/com_fabrik/language/en-CA/en-CA.com_fabrik.ini.
Last note, yes I do plan to override these placeholders in override language files, I'm only working at this level as I'm trying to debug my way through this one.
Shawn
components/com_fabrik/language/fr-CA/fr-CA.com_fabrik.ini it doesn't work. If I change that same placeholder in components/com_fabrik/language/en-CA/en-CA.com_fabrik.ini it works and if I comment out that value in the en-CA it will default to the value in components/com_fabrik/language/en-GB/en-GB.com_fabrik.ini.
Now here's the kicker, if I try to save the form the validation error is rendered below the field correctly. Any ideas why or how these two validations read the translated version differently? You can see what I mean in my screenshots. The only one that isn't correct is the french_ajax_validation.png. Note it says "Validation failed3443" when it should have the same text as french_validation_after_save.png which shows "failed validation (fr) test". Instead it is rendering the value from components/com_fabrik/language/en-CA/en-CA.com_fabrik.ini.
Last note, yes I do plan to override these placeholders in override language files, I'm only working at this level as I'm trying to debug my way through this one.
Shawn