Support Forum

French translation – 1 line not getting translated

SZ Stefan Zabel
Stefan Zabel
Member

Hi guys,

edit: sorry, title should have been 2 lines…

My forum is nicely translating into French thanks to whoever did the translation, but I noticed two lines of the .po that are translated but don’t come through in French.

Those are the phrases ‘jump to page’ and ‘no permission to start topics’.

See this short video as evidence. I’ve hovered over a few other buttons which are working fine:

http://screencast.com/t/5YUaVqyfCRMh

To replicate, go to this page:

http://atelierbois.net/forum/presentez-vous/

Thanks,

Stefan

12 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

Looks like there are about 10 translation strings that have not been validated on the translation website for the ‘default’ theme. We can not perform the validation as none of us speak French! If you would like to take on the role of validator I could upgrade your account ion the translation site – but would need to know the account name you are registered there with (NOT the password).

Or – if you would care to take a look at those strings awaiting validation and Ok them then I could mark them so they become part of the download.

SZ Stefan Zabel
Stefan Zabel
Member

Ah, that explains it. Would be great to get it finished. My username is stefanwood so could you upgrade me. I’ll try to do the default and unified themes as I’d like to set that up soon too. Thanks

Edit: I just took a look at them…one query…there are a few lines requiring translation of ‘MyCred’. Could you tell me what this refers to?

YS Yellow Swordfish
Yellow Swordfish
Member

MyCred is a WordPress plugin – a type of user points system: http://mycred.me/

SZ Stefan Zabel
Stefan Zabel
Member

Ok, ready to go with finishing the translations. Let me know when I’m upgraded. Thanks

YS Yellow Swordfish
Yellow Swordfish
Member

All updated and ready for you,. And thank you very much!

SZ Stefan Zabel
Stefan Zabel
Member

Hi there, I’ve finished off all the French (France) theme translations other than reboot which has all strings requiring validation. Unfortunately I cannot afford the time to do that just now.

Would the validated strings come through live following next upgrade? Not sure how it works…

All the best, Stefan

YS Yellow Swordfish
Yellow Swordfish
Member

Normally you can just go to the forum admin > Integration > Languages and reload the latest. You may have a little problem with themes and plugins at the moment as an unexpected change to a control file on the server has made them unavailable temporarily and this will be fixed up in the next SP release scheduled for, if all goes to plan, next week. The core translations are unaffected by this.

Or, of course, you can export the MO file from the translation site (at the bottom of the screen on all projects) and dowenload it and then upload to your server if you want it now.

SZ Stefan Zabel
Stefan Zabel
Member

Hi, SP just updated and the translations came through, except for:

No permission to start topics > Vous n’avez pas la permission de créer des sujets

I can see the start of the French but it stops at ‘Vous n’. The rest doesn’t show. I thought it might be a browser issue something about it being near the edge of the screen on the right, but other pop up text boxes are fine.

See this page for an example: http://atelierbois.net/forum/presentez-vous/

Could you take a look at let me know what you think?

Thanks,

Stefan

YS Yellow Swordfish
Yellow Swordfish
Member

Well that is a difficult question to answer. I thought at first that it must have something to do with the apostrophe but I see that other text strings with an apostrophe appear to be displaying as expected – (S’abonner à ce sujet for example). Plus I think we would have found out a long time ago if there was such a general problem.

I will have to dig in to some research to see if I can find any references but I admit – at first sight – I have no idea whatsoever!

YS Yellow Swordfish
Yellow Swordfish
Member

So far – I am sorry to say – I have found no reason whatsoever why this particular piece of text is not displaying as it should. It is clearly not a global problem with apostrophes. That specific line of text is also not malformed within the PO file as far as I can tell. I have replaced it several times.

Also – we just use the same ‘gettext’ routines that are built into WordPress! So I am extremely puzzled. I am going to have to write this up as a bug and see if I can delve into the hidden depths of gettext itself.

Fir information – ‘gettext’ is a third party and very well established library of functions that handle these translations at display time.

SZ Stefan Zabel
Stefan Zabel
Member

I did a few tests, and if you take the ‘ out, it works.

I’ve created a new translation with the same meaning which doesn’t include any ‘s. That works fine for now.

Cheers, Stefan

YS Yellow Swordfish
Yellow Swordfish
Member

A good stopgap measure I agree, But somewhere along the line we still need to try and determine what the issue is and why it does not affect all text with an apostrophe. That’s the puzzle 🙂 and I am no nearer solving it at the moment!