Locale problem with downloaded plugins
jørgen
Joined: 2009-09-29
Posts: 13 |
Posted: Fri, 2010-01-01 15:26 |
I have a fresh install of version 2.3.1 (gallery-2.3.1-typical.zip). Language configuration seems in general to work well. However, when I download extra plugins, I only get English language for the downloaded plugins. As an example, I downloaded and installed the Gallery:Registration plugin (version 1.0.14) since this plugin is not included in the "typical" installation. I used the downloader included in Gallery (Site Admin | Plugins | Get More Plugins | Gallery: Registration | download). When changing language to any other than English, I observe that the core and all other plugins change language, but the UI for the Registration plugin is always in English. Digging a little deeper I notice: 1) In my installation directory, in modules/register/po I can only see two files: - GNUmakefile while for other modules (like modules/exif/po) I can, in addition to the two files mentioned above, see a lot of *.mo and *.po files. 2) In g2data/locale/XX/LC_MESSAGES I gan see files for all modules, except "register" (for example, in g2data/locale/de/LC_MESSAGES I can see the language file for the EXIF module: modules_exif.mo and so on). I have downloaded other modules ("Cart" and "Zip") and the pattern is the same: the *.mo language files do not get installed. I can succesfully repair things by: a) Copy all modules/<module>/po *.mo and *.po files from a manually downloaded ZIP-file to modules/<module>/po and b) Copy modules/<module>/<language>.mo from a manually downloaded ZIP-file to g2data/locale/<language>/LC_MESSAGES/modules_<module>.mo Is this a bug in the module downloader/installer?
|
|