Skip to:
Content
Pages
Categories
Search
Top
Bottom

Problem with Language for plugin

  • Hello!

    I wrote a plugin and defined text just like the internacionalization docs says, using __(‘ and _e(‘ and defining a domain. Example: __(‘text’,’mydomain’)

    Ok, thats working fine, I also created a line like this:

    load_textdomain( ‘mydomain’, ABSPATH . ‘wp-content/mu-plugins/bp-languages/myplugin-‘ . get_locale() . ‘.mo’ );

    And the .mo file is also created and located into the bp-languages folder.

    I call this line in the initialization file for my plugin (located in mu-plugins), but the translation is not happening. What else should I do?

    It should be already working, dont you think?

Viewing 1 replies (of 1 total)

  • hackcafejapan
    Member

    @hackcafejapan

    Multilingual plugin needed yesterday!!! This is 2010 almost 2011 I can’t believe there is no multilanguage plugin for buddypress every other aspect works with wpml + wpmu

Viewing 1 replies (of 1 total)
  • The topic ‘Problem with Language for plugin’ is closed to new replies.
Skip to toolbar