[wp-hackers] [GSoC] Language Packs
Marko Novaković
atisha34 at gmail.com
Tue Mar 29 10:16:20 UTC 2011
I consider to choose language packs module as GSoC project.
This could be the plugin which download mo file for plugins or themes
from GlotPress if exists for current language.
This plugin may also support for multi-language blog.
There are some plugins like WPMU, see here
http://www.webdesignbooth.com/wordpress-multi-languages-5-plugins-to-built-a-multilingual-website/
I cannot understand this sentence in ideas page:
"Work is also necessary in GlotPress for this (support for plugins and
themes, ability to build download packages, etc.), so this task can probably
serve as two separate projects."
I cannot understand what could be done in the GlotPress side.
It also could be done automatic support for plugin and theme localization in
plugin API,
because it could be only localized plugins with the following segment of
code:
$locale_name = get_locale();
$mofile_name = dirname(__FILE__) . '/languages';
$mofile_name .= "/$domain_name-$locale_name.mo";
load_textdomain("domain", $mofile_name);
load_plugin_textdomain('domain', false, dirname( plugin_basename( __FILE__ )
) . '/languages/');
Best Regards
More information about the wp-hackers
mailing list