Re: [Vala] i18n help

2017-12-30 Thread Dr. Michael J. Chudobiak
On 12/28/2017 04:45 AM, Abderrahim Kitouni wrote: Hello, the N_ macro doesn't translate the string, it just marks it for translation so it ends up in the po file. You also need to call _ (a.k.a. gettext) to actually get the translation. Attached is a patch to fix this for moserial. Thank you!

Re: [Vala] i18n help

2017-12-28 Thread Abderrahim Kitouni
Hello, the N_ macro doesn't translate the string, it just marks it for translation so it ends up in the po file. You also need to call _ (a.k.a. gettext) to actually get the translation. Attached is a patch to fix this for moserial. HTH, Abderrahim 2017-12-22 19:03 GMT+01:00 Dr. Michael J. Chud

Re: [Vala] i18n help

2017-12-22 Thread Al Thomas via vala-list
> On Friday, 22 December 2017, 18:10:37 GMT, Dr. Michael J. Chudobiak > wrote: > I'm having trouble with i18n. The _("") macros in my program work, but > the N_("") ones (for initializing string arrays) don't. Any pointers on > what the issue could be? > This is the program: >https://git.gno

[Vala] i18n help

2017-12-22 Thread Dr. Michael J. Chudobiak
Hi all, I'm having trouble with i18n. The _("") macros in my program work, but the N_("") ones (for initializing string arrays) don't. Any pointers on what the issue could be? This is the program: https://git.gnome.org/browse/moserial If you run it, see if the Help > About > License text com