@iogui, every system I've tried works well with that workaround (4
installations with Ubuntu 20.04). Please reinstall language-pack-pt-base
an try again.

Yes, it is a binary file, a gettext .po compiled into a .mo. The sed is a quick 
workaround that works fine for me even with the binary. If you continue having 
problems, another way is retranslating with these commands:
```
sudo cp /usr/share/locale-langpack/pt/LC_MESSAGES/snappy.mo 
/usr/share/locale-langpack/pt/LC_MESSAGES/snappy.mo~
msgunfmt /usr/share/locale-langpack/pt/LC_MESSAGES/snappy.mo > /tmp/snappy.po
sed -i 's/o directório de destino/O directório de destino/' /tmp/snappy.po # or 
edit with PoEditor
sudo msgfmt /tmp/snappy.po -o 
/usr/share/locale-langpack/pt/LC_MESSAGES/snappy.mo
```

I can't find the origin of these translations to contribute to 
language-pack-pt-base.
Do you know about these translations and how to contribute?
I only find some git hooks in the sources manipulating translation contents, 
but don't understood clearly how it is done. Some help is welcome.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1932579

Title:
  snap pt_BR locale shows warning every time

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/language-pack-pt-base/+bug/1932579/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to