Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
translations
Avatar
Malte
Member
Free Members
sp_UserOfflineSmall Offline
Jan 8, 2012 - 7:12 am

btw ... I already translated the complete "Default Theme" in good German, for my own webpage.

Here: http://www.share-online.biz/dl.....5ZDHXLVDS6

Avatar
jackey
Nederland
Member
Free Members
sp_UserOfflineSmall Offline
Jan 8, 2012 - 7:31 am

Done the core front-end dutch and default theme dutch, but can't get it to show up.

Avatar
jackey
Nederland
Member
Free Members
sp_UserOfflineSmall Offline
Jan 8, 2012 - 7:35 am

@Malte
The german theme does not show in glotpress... why?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 8, 2012 - 12:22 pm

I see the dutch translation for core... shows up fine as guest (ie me not logged in)... you do have to of course, be logged in to download...

I do not see any German translation in glotpress for the default theme... nor do I see in the logs any were ever entered...

Malte, you should enter them in our translation site for users to easily get: http://glotpress.simple-press.com

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 8, 2012 - 3:14 pm

jackey said

Done the core front-end dutch and default theme dutch, but can't get it to show up.

Do you mean you can't get your SP to show up in Dutch? What is it you have done?

andy-signature.png
YELLOW
SWORDFISH
Avatar
jackey
Nederland
Member
Free Members
sp_UserOfflineSmall Offline
Jan 8, 2012 - 6:25 pm

Did the two translations.
Exported the two .po files.
Compiled them with poedit to .mo.
Placed both .po and .mo files in the appropriate folders.
That's about it...

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 8, 2012 - 7:38 pm

any reason why you didnt download the .mo file right from out glotpress site?  at the bottom, export...

if you extracted the .po file, you would need to add your translations again...  the .po file is on glotpress and what you are translating...  then you export the .mo file and are good to go...

you only need to place the .mo file in your languages folder for sp, by default sp-resources/languages/simple-press for core and admin...  the storage location is determined by forum - integration - storage locations...

you also need to tell wp to switch languages in the wp-config.php

Avatar
jackey
Nederland
Member
Free Members
sp_UserOfflineSmall Offline
Jan 9, 2012 - 1:03 am

Sorry but that wasn't made clear in the glotpress site. Not obvious imho, and there was no reason to select anything other thatn the default...

I verified if the translations are in the po file, and they are.

My WP is dutch, and running as such, so that is covered correctly.

Will have a look where to extract the .mo file directly.

Thanks

Avatar
jackey
Nederland
Member
Free Members
sp_UserOfflineSmall Offline
Jan 9, 2012 - 2:05 am

Found the problem... the files have the wrong name:

/**
* WordPress Localized Language, defaults to English.
*
* Change this to localize WordPress. A corresponding MO file for the chosen
* language must be installed to wp-content/languages. For example, install
* de_DE.mo to wp-content/languages and set WPLANG to 'de_DE' to enable German
* language support.
*/
define('WPLANG', 'nl_NL');

Please advise translators to add a space after a colon on the end of a string when translating.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 9, 2012 - 3:55 am

Actually - officially your language code should not have the _NL portion. The language codes are optionally two part. The first part represents a parent language. The second part should only be used for a country code that uses a variant of that language.

So - for example - The code for Portuguese is 'pt'. They speak a version of Portuguese in Brazil so their code is 'pt_BR'. The code for Britain is 'en'. The code for the USA is (officially) 'en_US'.

So in your case the only code necessary is actually 'nl'. However - as long as the code in your wp-config and the name of the file match then it makes no difference to the actual operation.

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 617
Members: 17359
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10125
Posts: 79620