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
5.26 Translation
Avatar
Paulo Loureiro
Member
Free Members
sp_UserOfflineSmall Offline
Jul 30, 2013 - 3:22 pm

Hello, 

i hope i can find help here.

My Problem is that the translations not working. 

I downloaded sp-de.mo and sp-de.po . With 36 and 66 Bytes.
Than i canged the names to sp-de_De.mo and sp-de_De.po .
Upload with ftp in the File /sp-resources/forum-language/simple-press
In the config.php ad the code define (‘WPLANG’, ‘de’); 

Greetings

 

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jul 30, 2013 - 4:56 pm

what are you trying to translate?  see:  http://codex.simple-press.com/.....alization/

keep in mind that a lot of the translations will be in theme translation file not core since the theme does most of the displaying...  and some will be in plugins...

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jul 30, 2013 - 5:23 pm

And please note that:

  1. If  your WP_LANG setting is 'de' then you should NOT change the filenames to 'de_DE'. They need to be the same as your WP_LANG setting.
  2. You only actually need to download the .po file.

 

andy-signature.png
YELLOW
SWORDFISH
Avatar
Paulo Loureiro
Member
Free Members
sp_UserOfflineSmall Offline
Jul 31, 2013 - 5:00 am

Can you Admins give me a step by step diretion, please? 

I want translate the Simple Press Core in german.

 

 

 

 

 

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jul 31, 2013 - 5:21 am

But the core is already translated into German. Do you mean you want to translate it differently or did you just not know it was available? See the 'Translations' link at the top of the sidebar and for more information on use see the install section of our Codex.

Please remember that most of what you see displayed does NOT come from the SP core but from the theme you are using.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Paulo Loureiro
Member
Free Members
sp_UserOfflineSmall Offline
Jul 31, 2013 - 5:39 am

Ok, sorry not translate. I want install the german language files( po and mo file) in my simple press forum. 
And i don´t know what i need to doing. I´m work 8 days at this problem.And read and read.

You say it´s not need to change filenames. It´s not working by me. What make i wrong? 
You see my step by step in beginning of this post.

Look please for better understanding and so much sorry for my english.

http://econexio.com/forum/

 

 

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jul 31, 2013 - 5:44 am

So first describe to me - in detail - what you HAVE done so far...

andy-signature.png
YELLOW
SWORDFISH
Avatar
Paulo Loureiro
Member
Free Members
sp_UserOfflineSmall Offline
Jul 31, 2013 - 6:29 am

I going to glotpress webpage. 

Simple Press Core - Version 5.2 - Front End - German

Export all current as Portabel Object Message Catalog (.po)
Export all current as Maschine Object Message Catalog (.mo)

I have the files: sp-de.po ; sp-de.mo
Changed the filnames to sp-de_DE.po  ; sp-de_DE.mo
Upload to my server in file: / sp-resources/forum-language/simple-press/

Edit my config.php. Here a part of my side:

/** Database Charset to use in creating database tables. */
define('DB_CHARSET', 'utf8');

/** The Database Collate type. Don't change this if in doubt. */
define('DB_COLLATE', '');

define (‘WPLANG’, ‘de’);

 

Thanks for search! 

 

 

 

 

 

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jul 31, 2013 - 7:27 am

Firstly - you only need the 'po' file.

And - why did you rename the files? It needs to match your WP_LANG setting which is just 'de'. So the file should be 'sp-de.po'.

And, of course, remember that most of the translations you see on the screen do NOT come from the core file - they come from the SP theme you are using so you will need to download and install that as well.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Paulo Loureiro
Member
Free Members
sp_UserOfflineSmall Offline
Aug 1, 2013 - 5:14 am

Ok, i have now only the "po" file, with the name "sp-de.po".

I read on wordpress.org from users that they changed the filenames.

I´m using the default theme. My language file now is spDefault.po

And now ?

 

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: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625