Languages in WordPress
-
Hi,
I love WordPress, playing with it for years and love to see how it is updated frequently to make it more and more awesome.
But there is one thing, that I can not understand as long as I use it.
The problem: Languages.My problem, for the most of all plugins and themes, is, that updating something will overwrite translated po/mo files and I have to translate hundreds of phrases again. I know… back before updating.
But why does wordpress handle translations like this?
Why is there a central place for all those translation files (for example wp-includes/plugin-langs and wp-includes/theme-langs that store users translation in it and offer the possibility to sync them with updated files in the plugin and theme folders.There is a plugin called “loco translate”, and this plugin is simply amazing. You can create, after updating a plugin, a new pot file and sync your translation with the new pot, without loosing already translated phraes. It removes phrases, that don´t exist anymore and adds all the new ones. So you can translate the new phrases and everything is fine.
I think, this plugin sould be part of wordpress.
Yes, the plugin does not solve the problem, that an update kills all the translations.
But if it would be a part of wordpress, wordpress could create a user-translations folder and keep these translations save. and, if it finds a load_theme_textdomain or load_plugin_textdomain, it could create a new pot and just sync the user files, so… all translations are save and will never be lost.I know… this is a huge wish.
But it would make wordpress better for everybody not speaking english as his native language.This is the biggest suggestion I have
The topic ‘Languages in WordPress’ is closed to new replies.