Gwythyr
Forum Replies Created
-
Hi,
my guesswork led me to the following:
1.
/wp-content/plugins/wordpress-mobile-pack/wpmp-es_ES.mo
2. still unsure. i just put it in the plugin’s root folder as well:
/wp-content/plugins/wordpress-mobile-pack/wpmp-es_ES.po
3. as far as i can tell
('WPLANG', 'es_ES');
does not need to be defined, because it’s already done in the wordpress base config.hope, that helps,
GwythyrFinally, could someone tell me how to change the date/time format for the plugin? Thanks in advance.
Solved
Since the .pot file was called
wordpress-mobile-pack
, I assumed the .mo file was to be named accordingly.Instead I had to use
wpmp-de_DE.mo
, the$domain
beeingwpmp
. Sowpmp-de_DE.mo
does the trick.Plurals are still buggy.
Okay, I used Poedit to translate the whole file. Got a .mo-file and put it into the plugin’s direcotory:
wp-content/plugins/wordpress-mobile-pack/ wordpress-mobile-pack-de_DE.mo wordpress-mobile-pack-de_DE.po
In
wordpress-mobile-pack.php
I setdefine ('WPLANG', 'de_DE');
Nothing happens. But I have to admit, Poedit spat out a lot of nplurals errors, so I commented out the references:
#"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
and
#msgid "You have one post" #msgid_plural "You have %d posts" #msgid "and one page" #msgid_plural "and %d pages"
etc.
Here are my source files:
https://www.mediafire.com/?s354r4tdtocsy3h
The translations are far from perfect but I’d like to publish them as soon as the problems are resolved.
Any help is appreciated,
GwythyrThank you. I’ll check it out.
Now I also tried
wordpress-mobile-pack-de_DE.po
To no avail.