New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
French translation #46
Conversation
French translation thanks to arhuman!
Seems to work after I fixed a few syntax errors:
Thanks! |
Oh, BTW, feel free to change things like |
On Tue, Oct 2, 2012 at 7:10 PM, David E. Wheeler
You're welcome !
|
I have encoding problems with the french translation. My system is fully utf8 capable (Gentoo linux with fr_FR.UTF-8 locale). This has been tested on Sqitch 0.937 from perl cpan (using force install, since tests were failing due to unexpected translations). Sorry for lacking more details, but I don't know the perl ecosystem at all, and I will gladly provide more information if given the proper instructions. |
@arhuman May I change the translation info to point to you, rather than me? Something like this:
Thanks, David |
Of course :-) BTW: I just finished to install Dist::Zilla I'll now be able to test. ArnaudA On Thu, Oct 11, 2012 at 8:29 PM, David E. Wheeler
|
And make him reponsible, too! Per request in #46.
Awesome, thanks! |
Hello, DISCLAIMER: I'm not an I18N/Encoding expert Are you sure about your choice of changing the encoding to Latin 1 for the When I switch back the encoding to UTF-8 in the file, most of the tests Test Summary Reportt/add.t (Wstat: 512 Tests: 85 Failed: 2) I gazed quickly at one failing test (I'm at the office currently) and the I'll try to sort this out tonight... Regards, ArnaudA On Thu, Oct 11, 2012 at 11:01 PM, David E. Wheeler <notifications@github.com
|
Le jeudi 11 octobre 2012 11:26:23 David E. Wheeler a écrit :
I'd love to, but I don't understand the installation instructions... I don't have a Build.PL file in the repository, is this something that should Sorry, this must be a total newbie question but I never used perl before and
|
@rdunklau : Can you contact me privately (arhuman@gmail.com or IRC) for I can assist you. I will provide you a "classical" Module to install (the current sources are supposed to be handled though a Perl tool called Dist::Zilla BTW: Tu peux bien sur me contacter en Français ;-) |
Thank you for your help, knowing the module was installable with Dist::Zilla sufficed to put me on tracks. The new version is actually "worse" from a user experience standpoint: Extract from sqitch status: With commit: 065eaeb With Commit: 716d939 It looks like the strings are encoded twice: the po file seems to be utf8, but sqitch encode it another time. I identified where it happens in the pager code (Sqitch.pm:480):
By returning even if the pager is not GLOB, the output of paged commands such as sqitch log is correctly encoded. I don't have the perl skills to approach this problem, but this may be worth investigating. |
Hrm. The problem appears to be not in the
And with
Which tells me that Locale::TextDomain is giving me valid UTF-8, but not decoding it to Perl’s internal representation. I will report this to the author |
I emailed Guid and Cc’d you two. Let’s see what he says. If he decides not to do it, I will probably whip up a subclass that does the decoding. |
Based on a discussion with Locale::TextDomain maintainer Guido Flohr. He is adamantly opposed to returning decoded strings, but points out that through the combination of setting the `$OUTPUT_CHARSET` environment variable and binding a filter to the domain, we can get it to properly decode strings. So let's do that. Reported in the discussion of pull request #46.
Hey guys, quick note, I just released Dist::Zilla::LocaleTextDomain v0.84. It includes a new command,
The key is to use |
Just pushed Dist::Zilla::LocaleTextDomain v0.85, which changes the interface to:
See also its notes for translators and quick blog post. |
First draft of the French translation.
As said by mail, It's sadly not tested :-(
Please, don't hesitate to test/give feedback and I'll try to improve it.