Updated french locale

Updated french locale

Postby melix on Mon Feb 20, 2006 4:41 am

Hi,

I had noticed the french locale was very approximative.

Click here to download an updated translation.
melix
 
Posts: 1
Joined: Sun Feb 19, 2006 4:03 pm
Location: France

Postby hELLO wORLD on Mon Jun 04, 2007 9:06 am

Hi, I have added some missing translations into the admin locale (for LT 1.2.2)

Here is the file (to put in /locale/admin ):
http://grvg.free.fr/pour_forums/2007-06 ... _fr_FR.zip
hELLO wORLD
 
Posts: 22
Joined: Mon Jan 29, 2007 9:04 pm

Postby jondaley on Mon Jun 04, 2007 12:54 pm

Can you grab the latest version and see what other changes need to be made?
It has already been updated a couple times since 1.2.2.

http://devel.lifetype.net/svn/plog/plog ... _fr_FR.php
jondaley
Lifetype Expert
 
Posts: 6169
Joined: Thu May 20, 2004 6:19 pm
Location: Pittsburgh, PA, USA
LifeType Version: 1.2.11 devel branch

Postby hELLO wORLD on Mon Jun 04, 2007 1:15 pm

jondaley wrote:Can you grab the latest version and see what other changes need to be made?
It has already been updated a couple times since 1.2.2.

http://devel.lifetype.net/svn/plog/plog ... _fr_FR.php


Ok. I have downloaded it, I will see that now.
hELLO wORLD
 
Posts: 22
Joined: Mon Jan 29, 2007 9:04 pm

Postby hELLO wORLD on Mon Jun 04, 2007 8:57 pm

jondaley wrote:Can you grab the latest version and see what other changes need to be made?
It has already been updated a couple times since 1.2.2.

http://devel.lifetype.net/svn/plog/plog ... _fr_FR.php


Done !
I have parsed the entire file you sent to me and I corrected errors, translated strings that were not translated and fixed a couple of things (like bad keys i.e. 'recent_posts_max_hard_help' instead of 'hard_recent_posts_max_help').

However, the file you gives to me has not exactly the same keys.

I can't post differences to you since your spam filter prevent my post. So you will have to go here: http://grvg.free.fr/pour_forums/differences.txt


I used a 'array_diff_key' to compare keys between the two files.
So do I need to merge both files and give the result to you?
Last edited by hELLO wORLD on Mon Jun 04, 2007 9:42 pm, edited 1 time in total.
hELLO wORLD
 
Posts: 22
Joined: Mon Jan 29, 2007 9:04 pm

Postby jondaley on Mon Jun 04, 2007 9:40 pm

It might be the case that there were missing or extra keys in the first version. I'd expect the later version to be more correct, though maybe a translator made a mistake. I think we have a script that checks locale files to see if all of the strings are there - I have been meaning to write one (and one that looks through our code to make sure we have all the keys in the english locale too).

The best thing for you to do is to check the en_UK locale file, and make sure that all keys that are in that file have a corresponding entry in the fr_FR file. Then upload the entire file to bugs.lifetype.net, and we'll check it in.

The differences don't really help, since I'd have to manually patch it or something.
jondaley
Lifetype Expert
 
Posts: 6169
Joined: Thu May 20, 2004 6:19 pm
Location: Pittsburgh, PA, USA
LifeType Version: 1.2.11 devel branch

Postby hELLO wORLD on Mon Jun 04, 2007 9:49 pm

Ok, but what's the difference between the file released with LT 1.2.2 and the one you posted here ? Since the last is from svn I suppose it is the latest version, but is it backward compatible with the 1.2.2 release?

Maybe you have changed keys or removed some from 1.2.2 to 1.2.3svn?
For exemple the key 'eror_updating_user2' is an error but used in the LT 1.2.2 files (en_UK too), maybe you have corrected it?

I could check from en_UK but from which version? LT 1.2.2 or the svn one?

Thanks.
hELLO wORLD
 
Posts: 22
Joined: Mon Jan 29, 2007 9:04 pm

Postby phunkphorce on Tue Jun 05, 2007 2:00 am

We have a tool to compare a locale file against the English one, we'll have a look at it and post the differences. If you're checking the code from svn, there's a script called "compare.sh" in the bin-devel/ folder, just go into the locale/admin/ folder and do "compare.sh en_UK fr_FR"
phunkphorce
Lifetype Expert
 
Posts: 9028
Joined: Mon Aug 25, 2003 6:34 am
Location: Suomessa

Postby jondaley on Tue Jun 05, 2007 7:16 am

You should use the most up-to-date one, which currently is:
http://devel.lifetype.net/svn/plog/plog ... _en_UK.php
and:
http://devel.lifetype.net/svn/plog/plog ... _en_UK.php

I don't remember any strings being removed in 1.2.3.
jondaley
Lifetype Expert
 
Posts: 6169
Joined: Thu May 20, 2004 6:19 pm
Location: Pittsburgh, PA, USA
LifeType Version: 1.2.11 devel branch

Postby hELLO wORLD on Tue Jun 05, 2007 10:01 am

jondaley wrote:You should use the most up-to-date one, which currently is:
http://devel.lifetype.net/svn/plog/plog ... _en_UK.php
and:
http://devel.lifetype.net/svn/plog/plog ... _en_UK.php


I don't remember any strings being removed in 1.2.3.


phunkphorce wrote:We have a tool to compare a locale file against the English one, we'll have a look at it and post the differences. If you're checking the code from svn, there's a script called "compare.sh" in the bin-devel/ folder, just go into the locale/admin/ folder and do "compare.sh en_UK fr_FR"



Thank you !

I use my own comparator : a small php file using 'array_diff_key'. This script permits me to produce the final PHP file too ;-)

I have compared the LT 1.2.2 en_UK and LT latest svn en_UK and this is not the same thing than the fr_FR!
For the en_UK, only the latest have new keys (that is logical).
I suppose then that the fr_FR is buggy.

I will modify my script to have the same keys in the latests en_UK and fr_FR and output a right locale PHP file.
I will submit the good French locale to you then.
hELLO wORLD
 
Posts: 22
Joined: Mon Jan 29, 2007 9:04 pm

Postby hELLO wORLD on Tue Jun 05, 2007 10:52 am

Wow ! This work is not useless!

I can tell you that there is missing keys in the last svn en_UK file used by the core (I speak only about the Admin section, I have not worked in the main section yet).

I will go further and submit that back to you.
hELLO wORLD
 
Posts: 22
Joined: Mon Jan 29, 2007 9:04 pm

Postby hELLO wORLD on Tue Jun 05, 2007 2:44 pm

It is about /locale/admin/locale_fr_FR.php
It is based on the svn links you submited to me earlier here.

So I have corrected few more strings and the file is now in sync with the en_UK one.
In the file, at the end, there are keys that seems to be unused (also for the en_UK), keys that are missing (also in the en_UK) and the keys that where in the fr_FR files but not in the en_UK one.

The file can be found here: http://grvg.free.fr/pour_forums/2007-06 ... FR.php.zip

I will submit that to the bug reporting system later tonight, like you suggested, with some issues on strings that are not localizable in the Admin and should be, and some errors in the core Admin file (related to localization, like buttons sizes).

-- added later: I have created an issue for the admin fr_FR locale here http://bugs.lifetype.net/view.php?id=1325
-- added later: I have created an issue for the admin missing localizable strings (it is general, related to the core, not only fr_FR) here http://bugs.lifetype.net/view.php?id=1326
hELLO wORLD
 
Posts: 22
Joined: Mon Jan 29, 2007 9:04 pm

Postby hELLO wORLD on Wed Jun 06, 2007 7:03 am

It is about /locale/locale_fr_FR.php
It is based on the svn links you submited to me earlier here.

I am done with the other locale file too :-)
Like the admin one: missing keys, errors and minor things, and I don't know why, the encoding was wrong in the svn file.
I have found that most keys present in the admin fr_FR but not admin en_UK were moved to the main locale.

Anyway, it is all OK now, and the file can be found here: http://grvg.free.fr/pour_forums/2007-06 ... FR.php.zip

I will submit that to the bug reporting system too.

-- edit: done, the issue is here: http://bugs.lifetype.net/view.php?id=1327
hELLO wORLD
 
Posts: 22
Joined: Mon Jan 29, 2007 9:04 pm


Return to Localization

cron