-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when using a language other than English, for example nl_BE, pt_BR among others. #93
Comments
@bobslee, thanks for the feedback, Yes, I updated it yesterday. Before the update he always assumed the language "EN" then the fields in English worked, but after its correction and takes the correct language, however it gives the error in the JS of the image. It gives error in JS and does not mount any field, if I leave it in 'EN' the language assembles the screen. |
@gustotc, thanks for your reply. |
@gustotc I think I solved this implementation. Shall push very soon (within hours). |
Thanks for listening ... |
@gustotc Please download and replace |
@gustotc by the way... I added your translations into the |
Thank you very much What I can help you can count on me, including the translation of the module to pt_BR, if you want. If so, I'll send you the file. |
@gustotc Yes please send me the translation files. Would be glad if you could contribute by any means. |
It follows pt_br translation files by module, already separated by module folder. Best regards, |
I had to reopen the error, because: |
@gustotc Unfortunately I can't reproduce the error. Please could you provide more info/data? |
Just found an issue with language switcher and language code. Still working on... |
@gustotc Please download and update to version 8.2 (formio). |
sorry, i just saw your message now. If you still want I can send the form without any problem, but as you generated a new version I will test it well and return. Thank you very much for your attention and count on me to test and report and if you allow it, I can also try to identify maybe improvements and post for you to see if it is useful. Thank you again, Best Regards |
unfortunately the error still occurs. I will try to explain it better. I'm using your demo model, in the commercial module. When I edit the form, it works perfectly, but when I enter the commercial module, select a sale and click on the form button to complete it, it does not load the fields and in the browse console shows the image error. However, if fixed in the language 'EN' it works, load the fields for filling. I also tested by modifying the language to another language "nt_BE" and the error also occurs. |
@bobslee After version 14 was updated to the latest, there were similar problems. If I set up a non-English environment (such as simplified Chinese) in Odoo and added a translation package (simplified Chinese) to my Builder, I wouldn't be able to pop up a dialog box when the builder builds a field. |
@bobslee Please see the following steps for replicating: |
Thanks for reporting. I'll come back to this within a few days (weekend). |
Thank you very much, good weekend, rest to recharge your batteries. |
@gustotc I reproduced the issue and finally solved on my local development env. Issue is due to formatting the language code with an underscore "_", whereas the Formio JS implementation expects a hyphen "-". Before I push the change, I improve the code and shall test again. |
@gustotc Issue should be solved now. |
good news Thank you. |
Okay, I'll do what you asked for, test it and let you know. Thank you. |
@gustotc I just added your |
following image below the JS error
Updated version
Odoo version 12.0
formio_translations_pt_BR.xml.zip
The text was updated successfully, but these errors were encountered: