Hi,

I speak no French but ... (but I used to live in French speaking area)

On Fri, Jul 20, 2018 at 07:27:37AM -0700, Paul Hardy wrote:
> By pure coincidence, the Wikipedia page on gettext shows that gettext
> will correctly translate "My name is %s" into "Je m'appelle %s" in
> French.  So changing the po example on p. 122 of debmake-doc.en.pdf
> from
> 
>       msgid "Hello, I am %s!\n"
> 
> to
> 
>      msgid "Hello, my name is %s!\n"

"I am %s" alone can have 2 translation string options in French since
"%s" may be a name or a job title.  I wasn't paying attention.  Clearly,
this text with "Hello" should be followed by name.
 
> should fix that.  See this excerpt at https://en.wikipedia.org/wiki/Gettext
> 
>      #: src/name.c:36
>      msgid "My name is %s.\n"
>      msgstr "Je m'appelle %s.\n"

Well... true.  But this PO in this document was a variant of "hello
world" program

msgid "Hello.  My name is %s.\n"
msgstr "Bonjour. Je m'appelle %s.\n"

Never blindly trust google translate ;-)

I will work on it.

Osamu 

Reply via email to