inpsyde / wpml2mlp

Convert posts from an existing WPML multilingual site via WXR Export/Import for MultilingualPress
https://wordpress.org/plugins/wpml-to-multilingualpress/
GNU General Public License v2.0
10 stars 6 forks source link

Changes on inc/Wpml2mlp_Prerequisites.php #11

Closed JonZiemlich closed 9 years ago

bueltge commented 9 years ago

Hi Jon. Strings should be always translatable. PLease use the translation functions for all content, like esc_html__( 'Text', 'textdomain' );. Currently is this also on other source in this plugin forgotton, but it is bas style. Also as example it is here ready for translation, but without textdomain - https://github.com/inpsyde/wpml2mlp/blob/master/inc/Wpml2mlp_Importer.php#L226

Please use as textdomain the string wpml2mlp.

We should also add a function to load the language files. http://codex.wordpress.org/Function_Reference/load_plugin_textdomain