pydio-sync
pydio-sync copied to clipboard
Create pt_br.po
Only the creation of pt_br.po already enough for Brazilian Portuguese translations for Pydio sync client?
Hi, thanks for this.
It's mostly enough to create the po file, meaning we can handle the rest (a few things are hard-coded since we don't yet support so many languages).
However we're doing a massing interface rework currently. I'll come back to you next week to see how those changes will look in the new version.
It's ok. If I need any help, I'll be happy to
Hi,
I couldn't fully test yet but it should mostly work.
There are several typos in your po file (such as "...";
instead of "...;"
, msgid instead of msgstr and other stuff)
pt_br.po:188:7: syntax error
pt_br.po:718:53: syntax error
pt_br.po:727:42: syntax error
pt_br.po:731:24: syntax error
pt_br.po:735:36: syntax error
pt_br.po:785:33: syntax error
pt_br.po:904: missing 'msgstr' section
pt_br.po:905: missing 'msgstr' section
pt_br.po:945:73: syntax error
pt_br.po:1099: duplicate message definition...
pt_br.po:701: ...this is the location of the first definition
pt_br.po:1103: missing 'msgstr' section
pt_br.po:1104: missing 'msgstr' section
pt_br.po:1321:36: invalid control sequence
pt_br.po:1322: end-of-line within string
msgfmt: found 14 fatal errors
The next step for this version is to edit ui/res/general_configs.html
and add pt_br opt
And run msgfmt pt_br.po --output-file pt/LC_MESSAGES/pydio.mo
and our html compile thing.
To work on the new version of Pydio-sync you need to:
- checkout the branch materialUI.
- Run
python main.py --extract_html=extract
- Run
msginit --input=pydio.pot --locale=pt_BR --output-file=pt_br.po
(details inutils/i18n.py
) - (Optional) Run
python main.py --extract_html=compile
and commit all relevant files.
ok I'll check
Hi, Can't edit any .po file with poedit (WIndows 10). JMRuas