Support Forum

Simple:Press 5.0 Ready for Translation

129 Answers

New Answer

SP SPQC
SPQC
Member

Mr Papa said

what did you put in wp-config.php?  and what is the file name you put in wp-content/sp-resources/forum-language/simple-press?

fr_FR and after downloading the French Canada file I renamed it sp-fr_FR.mo and it works, but only for the about box.

 

Like you said in a previous post, WP don’t have a French Canadian translation so that’s why I use fr_FR but I want S:P to keep French Canada, who knows one day maybe someone will start a fr_CA translation of WP and meanwhile, it’s pretty easy to get the S:P fr_CA file and rename it.

YS Yellow Swordfish
Yellow Swordfish
Member

Don’t forget that (a) the obvious – it will only translate text there is a translation for and (b) most of what you see displayed comes from the theme NOT the core.

SP SPQC
SPQC
Member

Yellow Swordfish said

Don’t forget that (a) the obvious – it will only translate text there is a translation for and (b) most of what you see displayed comes from the theme NOT the core.

DOH!  eek  The theme yeah…  I’ll start right away but I see I’m not a validator for it!

SP SPQC
SPQC
Member

Mr Papa said

We usually try to handle the single/plural like your moderator example properly… that one looks like it slipped through the cracks…

Just found out while translating that it’s hard coded in the theme :

– There are %COUNT% moderators

– There are %COUNT% admins

 

Any chance this will be fixed before public release since it’s always visible at the bottom of every page or we will have to wait for 5.01?

 

There is no moderator / Il n’y a pas de modérateur

There is 1 moderator / Il y a 1 modérateur

There are X moderators / Il y a X modérateurs

MP Mr Papa
Mr Papa
Member

and if you are using any plugins, they have their own translations too…

I have added you as translator on themes and plugins…

As to the singular/plurals stuff, we opened a ticket a couple days on this behavior…  we had handled it much better in 4.5 but lost some of the flexibility when we went to themes…  so we are discussing the best way to handle…  ideally will be fixed in 5.0 before release…

SP SPQC
SPQC
Member

Mr Papa said

and if you are using any plugins, they have their own translations too…

I have added you as translator on themes and plugins…

As to the singular/plurals stuff, we opened a ticket a couple days on this behavior…  we had handled it much better in 4.5 but lost some of the flexibility when we went to themes…  so we are discussing the best way to handle…  ideally will be fixed in 5.0 before release…

Awesome, thanks.

 

BTW I may have an easy fix for Mods and Admins count: simply drop ‘There are’ and ‘There is’ and use:

Moderator(s): %COUNT%

Administrator(s): %COUNT%

LU LucasOrso
LucasOrso
Member

Hello, I have translated the Default theme and several plug-ins for SPV5 in Russian, how can I download my own translations? Is it necessary to someone to approve them?

SP SPQC
SPQC
Member

LucasOrso said

Hello, I have translated the Default theme and several plug-ins for SPV5 in Russian, how can I download my own translations? Is it necessary to someone to approve them?

A validator need to approve each translation, chance are that if you are the only one yet who worked on it that you’ll be offered to be a validator.  What’s nice is every change you made is automatically accepted (goes green instead of yellow).

 

Then to download, at the bottom you have to select the MO extension and click Export.

MP Mr Papa
Mr Papa
Member

SPQC, thought about doing the same in our provided themes… but we likely still need a more global solution…

LucasOrso, yes, any translations need approving by a validator or admin before availability… or no telling what might get put in the translation…  would like to volunteer to be a Russian language validator?

SP SPQC
SPQC
Member

Question!  There is something strange that hapenned and I can’t explain it.  I translate a few bits here and there many times a day and remember “There are x members” and such in the Member stats at the bottom?

 

Well, I had those translated and working fine then suddenly a few hours ago they reverted back to english with “There are…”.  I tried to filter theme strings and I cannot find it, I even download the PO file to search with POedit and they are gone!  Looks like you modified those if I look at the stats just below here, and it looks like it have impacted our translations.

 

I see no S:P updates available, neither for the theme so I’m lost about those 4-5 lines.

MP Mr Papa
Mr Papa
Member

it likely did… in preparation for pushing out a core update and themes and plugins updates tomorrow, we updated the .po files at glotpress…  it wouldnt change anything in the .mo file you already downloaded… only if you downloaded a new one…  since yours, for example, was 100% complete, wouldnt have expected you to grab another version…

we also update everything in svn…  but we limit, obviously, when and the frequency we push an actual update out through the wp updater…

unfortunately, we have to do some things in serial…  so there can be short periods of time of instability in pre-releases…

the updates will be pushed out tomorrow… sorry for any inconvenience…

SP SPQC
SPQC
Member

I see…  no problem.  Still not 100% translated because I do a page or two then download and see how it looks, then go away, come back 2 hours later and do a few more…

 

Well, I’m gonna wait for the updates then.  Just lost 30 minutes trying to understand if I did make a mistake.  confused

 

Until then I will try to save the changes I made to one of the theme so I don’t lose them.

MP Mr Papa
Mr Papa
Member

okay, cool. but you are starting to see one of the problems that will be facing folks with their own theme. at some point their theme will diverge from ours. and the translations will only be for our themes.

unless the user created themes stay in sync which there may or may not be a reason for… but after 5.0 releases final, we will have backwards compatibility at the forefront of our changes… we cannot break user developed themes with our changes… user themes may not get new features (ie new template tags) without upgrading them, but they need to keep working with what they have…

SP SPQC
SPQC
Member

Ok tell me…  one change I did in the red-sky theme is change all the red from #990000 to #AA0000.  I think there was 33 occurances.

 

Isn’t there a way to have such a change and receive future updates without problems?  In this particular case I know I can do a search/replace each time after an update but is this the only solution?  Isn’t there a custom.css file in the S:P theme section were we can override such default theme colors and styling?

LU LucasOrso
LucasOrso
Member

Now everything is clear thank you for the explanation. I would like to become translation validator for a Russian language, the case would have gone faster.