Re: Making my application international

2020-09-28 Thread Gustavo Peredo via gnome-i18n
Thanks a lot! I Em seg, 28 de set de 2020 10:37, Emmanuele Bassi escreveu: > Please, use Discourse for questions about GNOME and development: > > https://discourse.gnome.org > > We are on our way to decommission most mailing lists, and very, very few > people even use gnome-devel-list to begin

Re: Making my application international

2020-09-28 Thread Emmanuele Bassi via gnome-i18n
Please, use Discourse for questions about GNOME and development: https://discourse.gnome.org We are on our way to decommission most mailing lists, and very, very few people even use gnome-devel-list to begin with. Ciao, Emmanuele. On Mon, 28 Sep 2020 at 14:22, Daniel Mustieles García via gno

Re: Making my application international

2020-09-28 Thread Daniel Mustieles García via gnome-i18n
Hi Gustavo, You can ask in gnome-devel list, there there are many developers that will help you better than us. Good luck! El lun., 28 sept. 2020 a las 14:57, Gustavo Peredo via gnome-i18n (< gnome-i18n@gnome.org>) escribió: > Thank you for your response! Unfortunately this didn't make the tric

Re: Making my application international

2020-09-28 Thread Gustavo Peredo via gnome-i18n
Thank you for your response! Unfortunately this didn't make the trick, but helped me gather some information. When running: $ strace -o file.log flatpak run , I'm able to see some output referring to the locale I'm currently using: openat(AT_FDCWD, "/usr/share/locale/en_GB.UTF-8/LC_MESSAGES/libc.m

Re: Making my application international

2020-09-27 Thread Rafael Fontenelle
Hello Gustavo, Consider setting the "gettext.bindtextdomain()" (in src/main.py, I think) as mentioned in https://docs.python.org/pt-br/3/library/gettext.html If the domain name is not set, the software will look for "messages.mo" (the translation file in machine language) instead of the proper e.

Re: Making my application international

2020-09-26 Thread Gustavo Peredo via gnome-i18n
Thank you for your answer! After reading xgettext documentation I was able to generate my .po files, I created and edited two of them: en_GB and pt_BR. I added them to my /po directory and added en_GB and pt_BR to my LINGUAS file, no errors were shown during compilation nor when exporting the pack

Re: Making my application international

2020-09-26 Thread Andre Klapper
Hi, On Sat, 2020-09-26 at 09:05 -0300, Gustavo Peredo via gnome-i18n wrote: > TL; DR: How to begin translating a GTK Application using po? In theory: https://wiki.gnome.org/TranslationProject/DevGuidelines In practice I'm not sure how heavily outdated some of those wiki pages might be (meson etc