Skip to:

Regarding 2.7.7

  • chestnut_jp


    I just upgraded my 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:
    `load_plugin_textdomain(‘bp-ass’, PLUGINDIR.’/’.dirname(plugin_basename(__FILE__)).’/languages’);`

    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, 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’ );`

Viewing 1 replies (of 1 total)

  • Dwenaus


    i understand now. it is fixed in 2.7.8. I foolishly switched to load_plugin_textdomain because of another user’s request without fully understanding the system. and because I’m so busy I did not text it properly – which just causes more problems and confusion in the end.

Viewing 1 replies (of 1 total)
  • The topic ‘Regarding 2.7.7’ is closed to new replies.
Skip to toolbar