lpa Posted November 19, 2013 Share Posted November 19, 2013 I tried to add Finnish translation to TinyMCE plugin codemagic by copying the en.js and en_dlg.js files to fi.js and fi_dlg.js and changing en to fi in those files. Without these files I didn't get the whole field to load. But now I can't get the translations to work even in english. I only see texts like this: {#codemagic_dlg.code_label}. I am using TextareaLanguage fields. What should I try to do? Is there any way to get the finnish translation to codemagic without changing the core? Edit: The translation problem shows up on Mac OS X Chrome 31.0.1650.57, not on Safari. Link to comment Share on other sites More sharing options...
ryan Posted November 23, 2013 Share Posted November 23, 2013 If the issue is showing up in Chrome and not Safari, is it possibly just a browser cache issue? Have you tried clearing the cache, quitting the browser, etc.? I had Chrome pull a similar trick on me recently. Link to comment Share on other sites More sharing options...
lpa Posted December 20, 2013 Author Share Posted December 20, 2013 That problem has disappeared, but this question remains: Is there any way to get the finnish translation to codemagic without changing the core? Link to comment Share on other sites More sharing options...
ryan Posted December 29, 2013 Share Posted December 29, 2013 I don't know enough about this particular tool to say for sure, but if you are able to modify the core plugin to get it working, let me know what you change so that I can make the same change in the core. A lot of our users are in Finland and would like to have full support in everything from the core. Link to comment Share on other sites More sharing options...
lpa Posted December 30, 2013 Author Share Posted December 30, 2013 Hi, I just translated the two english language files in /wire/modules/Inputfield/InputfieldTinyMCE/tinymce-3.5.8/plugins/codemagic/langs/ and changed the names to fi_dlg.js and fi.js. Those files are attached here renamed with .txt. I think it was like when using the language code fi codemagic supposed to find files called fi.js and fi_dlg.js. fi_dlg.js.txt fi.js.txt 1 Link to comment Share on other sites More sharing options...
ryan Posted January 1, 2014 Share Posted January 1, 2014 Thanks lpa! I am adding these to dev. Link to comment Share on other sites More sharing options...
Jeroen Posted March 25, 2014 Share Posted March 25, 2014 Thanks! I just ran into the same issue. So here are my dutch translations nl_js.txt nl_dlg_js.txt Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now