On 2 October 2013 00:58, Beco wrote:
>> #define _( String ) gettext( String )
>>
>> breaks xgettext
>>
>> Is there any trick to get it working with the define?
Solution:
Use -k_ arg. Example:
$xgettext -k_ -d hallo -s -o hallowelt.pot hallowelt.c
Thanks!
Beco.
--
Dr Beco
A.I. researcher
"
On 2 October 2013 00:44, Beco wrote:
> On 1 October 2013 19:03, Boris Pek wrote:
[big snip]
>
> $ msgfmt -c -v -o hallo.mo en_US-hallowelt.po pt_BR-hallowelt.po
>
> I get this fatal errors:
>
> pt_BR-hallowelt.po:6: duplicate message definition...
> en_US-hallowelt.po:7: ...this is the location
On 1 October 2013 19:03, Boris Pek wrote:
> Hi,
>
[snip]
>
> $ env | grep LANG
> $ env | grep LC_
>
> And search in google (or etc.) these environmental variables.
>
>> How can I see it in the original form?
>
> Try something like this:
> $ LC_ALL=C hallowelt
> or this:
> $ export LC_ALL=C
> $ h
Hi,
> Now I moved it to the correct location.
>
> $mv hallo.mo ~/tmp/locale/en/LC_MESSAGES
>
> The problem now is that I can only run it in english!
$ env | grep LANG
$ env | grep LC_
And search in google (or etc.) these environmental variables.
> How can I see it in the original form?
Try som
On 29 September 2013 23:41, Beco wrote:
> On 29 September 2013 23:35, Martin Eberhard Schauer wrote:
>>> Please, what would be the correct way to translate printf messages (in
>>> a C program) into some other languages?
>>
>> You will have to learn about gettext and prepare your program for it.
On 29 September 2013 23:35, Martin Eberhard Schauer
wrote:
>> Please, what would be the correct way to translate printf messages (in
>> a C program) into some other languages?
>
> You will have to learn about gettext and prepare your program for it.
>
>
>> PS. Is such kind of questions welcomed he
> Please, what would be the correct way to translate printf messages (in
> a C program) into some other languages?
You will have to learn about gettext and prepare your program for it.
> PS. Is such kind of questions welcomed here? Or should I ask
debian-devel?
You are right here.
--
To UNS
Hi there,
Please, what would be the correct way to translate printf messages (in
a C program) into some other languages?
Thanks!
Beco.
PS. Is such kind of questions welcomed here? Or should I ask
debian-devel? I thought that debian-devel would be more advanced, so I
tried here first. Please advi
8 matches
Mail list logo