I just upgraded my 184.108.40.206 to the latest original version of 2.7.7.
You still have misunderstood how to load textdomain.
Translation still do not work for 2.7.7.
As I wrote before, please use the following:
In 2.7.7, it reads:
`load_plugin_textdomain( ‘bp-ass’, false, dirname( plugin_basename( __FILE__ ) ) );`
This defines only the place where the plugin is. The place of language folder, named “languages” is not specified.
Now that you defines the name of language file as “bp-ass”, Japanese and Italian language files should be renamed to bp-ass-ja.mo, bp-ass-it.mo and so on.
The pot file can also be renamed to bp-ass.pot, which is not essential but in order not for peple to be mixed up.
As I have just did upgrade, I have not yet verify how the new version work. It will take some time for me to report.
The pot file you remade seems to work, so I will reproduce japanese language file base on your pot.
If you do not want to write PLUGINDIR, the line should be read like this:
`load_plugin_textdomain( ‘bp-ass’, false, dirname(plugin_basename(__FILE__)).’/languages’ );`
- The topic ‘Regarding 2.7.7’ is closed to new replies.