flatpak-docs icon indicating copy to clipboard operation
flatpak-docs copied to clipboard

Add language for translation: ru / Russian #242

Open gostsdmitry opened this issue 3 years ago • 23 comments

Please include ru (Russian Language) to the list of languages in Zanata translation platform so I can translate flatpak documentation. To be precise, I have already done the translation. You just need to transfer it to Zanata.

gostsdmitry avatar Aug 06 '21 16:08 gostsdmitry

@TingPing, @gasinvein Sorry, what do I need to specify in the flatpak-docs translation files in the "Language Team:" section, if I am not a member of the translators team?

gostsdmitry avatar Sep 11 '21 12:09 gostsdmitry

I don't think that value matters at all. This just needs to be manually set up on the docs site so its not as easy as just merging.

TingPing avatar Sep 11 '21 14:09 TingPing

In this case, can I leave this string empty? And this very same question concerns the line number 6 where Zonata is indicated.

gostsdmitry avatar Sep 11 '21 14:09 gostsdmitry

@TingPing Do need to translate these files? On "Zanata" I did not find them... https://github.com/flatpak/flatpak-docs/blob/master/po/de/LC_MESSAGES/building-simple-apps.po https://github.com/flatpak/flatpak-docs/blob/master/po/de/LC_MESSAGES/using-flatpak.po https://github.com/flatpak/flatpak-docs/po/de/LC_MESSAGES/working-with-the-sandbox.po

gostsdmitry avatar Sep 11 '21 16:09 gostsdmitry

The .pot file needs to be regenerated, its just outdated.

TingPing avatar Sep 11 '21 16:09 TingPing

The .pot file needs to be regenerated, its just outdated.

The thing is, I don't have a Zanata account. I downloaded the files from there and translated them using poedit.

gostsdmitry avatar Sep 11 '21 16:09 gostsdmitry

I've removed Zanata from our documentation. Its a dead service sadly.

I started setting this up, however there are some issues. Will need to look into later: https://docs.flatpak.org/ru/latest/

I would guess you translated something into invalid rst, I did one fix-up for that, but I'm not sure what else is going wrong..

TingPing avatar Sep 14 '21 21:09 TingPing

OK. I’m busy right now, but when I have time, I’ll start translating what hasn’t been translated yet.

gostsdmitry avatar Sep 15 '21 10:09 gostsdmitry

Flatpak-docs translation into Russian language is completed.

gostsdmitry avatar Sep 23 '21 13:09 gostsdmitry

Something is still corrupted on the site though.

TingPing avatar Sep 23 '21 17:09 TingPing

Something is still corrupted on the site though.

Do you mean that in Russian localization there are whole paragraphs in English? That is not translated. For example, this: https://docs.flatpak.org/ru/latest/tips-and-tricks.html

gostsdmitry avatar Sep 23 '21 17:09 gostsdmitry

It looks like because the untranslated paragraphs lead to this address: flatpak-docs/docs/ but not flatpak-docs/po/ru/LC_MESSAGES/

gostsdmitry avatar Sep 23 '21 18:09 gostsdmitry

Hmm. Found several errors in four files, including untranslated text.

gostsdmitry avatar Sep 23 '21 19:09 gostsdmitry

It looks like this here, broken theme:

image

TingPing avatar Sep 23 '21 21:09 TingPing

@TingPing Yes. I understood what you mean. I noticed this a few days ago.

gostsdmitry avatar Sep 25 '21 12:09 gostsdmitry

Something is still corrupted on the site though.

The problem is that the site: https://docs.flatpak.org/ru/latest/ mixes old and new versions of translations...

gostsdmitry avatar Sep 25 '21 17:09 gostsdmitry

I don't know. It is successfully triggering a build every commit. It takes a few minutes but otherwise seems correctly configured.

TingPing avatar Sep 25 '21 17:09 TingPing

@TingPing Everything is clear: translations indicated on GitHub as "fuzzy" are not synchronized

gostsdmitry avatar Sep 26 '21 11:09 gostsdmitry

@TingPing I made those changes that, in my opinion, should fix the synchronization of the Russian translation. Specifically, I've removed the word "fuzzy" from all translation files.

gostsdmitry avatar Sep 26 '21 15:09 gostsdmitry

@gostsdmitry Could you please group changes to larger single PRs.

I appreciate all of the work but opening a dozen PRs is just not a nice way to contribute.

TingPing avatar Sep 26 '21 15:09 TingPing

@TingPing Sorry. For the future, I will take into account your remark.

gostsdmitry avatar Sep 26 '21 16:09 gostsdmitry

@TingPing #309

gostsdmitry avatar Sep 27 '21 18:09 gostsdmitry

Just to mention that the broken theme issue is addressed in #363

rffontenelle avatar Oct 20 '22 00:10 rffontenelle