Hello there @kjetilgf
In order to translate the plugin, you should:
1. make your translation here:
https://translate.wordpress.org/projects/wp-plugins/forminator/stable/nb/default
2. export the .mo file from the same page
https://monosnap.com/file/SMhZxWEWbpw1Ef514JZzSGpoBr7WlV
3. rename the file to forminator-nb.mo
4. upload it to /wp-content/languages/plugins/ (just create the folders, if not exist already)
References:
https://developer.wordpress.org/themes/functionality/localization/
https://premium.wpmudev.org/docs/getting-started/wpmu-dev-translations/
(please keep in mind that translations located here: https://premium.wpmudev.org/translate/projects/ are for our premium plugins, for free versions you should check https://translate.wordpress.org/projects/wp-plugins/)
Warm regards,
Dimitris
Thread Starter
Kjetil
(@kjetilgf)
Thanks for coming back to me
I’ve been very busy but finally I’m on it again 🙂
To my knowledge I will also get a working mo file via POEdit (which is much quicker to work with), so I exported a clean po file to start with.
Then I translated all lines with “this files is required (something)”, saved and renamed the mo file to forminator-nb.mo before uploading as you described. Emptied the cache, reloaded the page with the form in, but still the error messages come in English:
https://www.dropbox.com/s/cf58tpaaa9zy0ra/ha-forminator-englisherrors.jpg?dl=0
Any obvious place I’ve stumbled?
By the way, the po and mo files I’ve made are here:
https://www.dropbox.com/s/9zi96337o3i0ocb/ha-forminator-languages.zip?dl=0
Thanks
Hello there @kjetilgf,
hope you’re doing good and
To my knowledge I will also get a working mo file via POEdit (which is much quicker to work with), so I exported a clean po file to start with.
Of course this can work, I’m glad you found that out! 🙂
I downloaded your files and tested them, they should work fine, I just made a little typo mistake in my previous reply, as they should be named:
/wp-content/languages/plugins/forminator-nb_NO.mo
/wp-content/languages/plugins/forminator-nb_NO.po
By the way, the po and mo files I’ve made are here:
https://www.dropbox.com/s/9zi96337o3i0ocb/ha-forminator-languages.zip?dl=0
You should be able to easily upload them in https://translate.wordpress.org/projects/wp-plugins/forminator/stable/nb/default so others can benefit and also assist to complete the translation. 😉
https://monosnap.com/file/IvQs6nN97wwb8cPZKSVKs08YFzN9AF#
Thank you,
Dimitris