Found lots of info online, but still very confusing to me. I’m running Enfold and WPML. Yet WPML finds no .mo files, so I don’t know what it means.
Please see this screenshot of what WPML says about the .mo files: http://goo.gl/SN750X
Is that a problem? I see there is a German .mo file (probably because of Kriesi’s native language), but how to get the other missing files?
Thanks in advance!
I strongly recommend to use Please use Codestyling: http://wordpress.org/plugins/codestyling-localization/ to translate the theme.
Install the plugin, go to Tools > Localization and select “Themes”. Then search for “Enfold” in the list and click on “Add new language”. Then select your language from the list and click the “create po-file” button. Click on “Rescan” to fetch all text strings. Then click on “Edit” and translate the required strings from the “avia_framework” textdomain. At least click the “create mo file” button next to the “Textdomain” selection dropdown (top left corner).
Thanks very much for that explanation!
I’m a bit confused as to what’s the difference between WPML > String Translation and Codestyling Localization.
The main difference is that Codestyling does a better job imo. It recognizes different textdomains in the php files and you can easily switch between textdomains – this helps you to ignore unnecessary textdomains (i.e. you just need to translate the “avia_framework” textdomain and not the LayerSlider textdomain, etc.). In addition Codestyling can handle textdomains which are stored in variables and constants whereas wpml can only handle simple text strings.
Great, thanks for the info and assistance!