2ndkauboy / textdomain-overwrite

A simple plugin which enables a user to overwrite localization string from the WordPress core, plugins and themes, using it's own language files
GNU General Public License v3.0
28 stars 5 forks source link

How does textdomain-overwrite works with the current translation process? #7

Open alvarogois opened 8 years ago

alvarogois commented 8 years ago

Hi,

First of all, congratulations @2ndkauboy for your fine work, not only with this plugin. It served as a starting point for a plugin I worked with @pereirinha (https://github.com/pereirinha/pt-variants). We used it before variants, themes and plugins were added to translate.wordpress.org GlotPress platform.

I was wondering how does it work now, with this current flow. Does it still overrides the language files?

Thanks.

2ndkauboy commented 8 years ago

Hi @alvarogois,

to be honest, I haven't checked it for a while. But the way it was written, it should still be working with the current implementation. Altough I have to test it with WordPress 4.6 as it will remove the need to load plugin/theme translation files within the plugin/theme code. That might cause some issue.