Ask / Submit
7

Reminder for promoting finished translations to official release

asked 2017-10-21 23:26:06 +0200

Filip K. gravatar image

updated 2017-10-22 15:27:55 +0200

As requested by sledges on the last IRC meeting at 18. October 2017 I'm opening this reminder for promoting finished translations (old one is here).

The list for (almost) done translations is from official translation tool. It seems that there are Hungarian, Greek, Estonian and Dutch already at 100 % despite frontage mentioning 99 %. Similar for Czech as it shows one untranslated sentence but details show it translated. Slovenian is also already fully translated and it only lacks a review of 24 words till 100%.

edit retag flag offensive close delete

1 Answer

Sort by » oldest newest most voted
3

answered 2017-10-24 23:43:54 +0200

updated 2017-10-25 00:11:14 +0200

Okay since noone shown an off the self solution for spellchecking ts files I have ditched together a small python script:

https://github.com/martonmiklos/unofficial-jolla-translation/blob/master/tools/spellcheck.py

Usage: export POOTLE_LANG=hu; ./tools/fetchts.sh export POOTLE_LANG=hu; export SPELLCHECK_LANG=hu_HU; ./tools/spellcheck.py > errors.txt

Dependencies:

  • python
  • python-enchant
  • python-minidom

I have found many errors and untranslated texts in the Hungarian translation, so I would encourage everyone who is planning making a community localisation official to run this check.

edit flag offensive delete publish link more

Comments

Great stuff, thanks. There were loads of false positives (all words with a hyphen, all proper names and all acronyms were counted as problematic), but there were still several real spelling mistakes in there. Everything in the Dutch translation should hopefully be fixed now.

nthn ( 2017-10-25 17:50:23 +0200 )edit

Yeah I have also seen similar with the Hungarian. Acronyms could be workarounded by adding them to the known words. I will look after the hypenation, but it should be supported by the enchant: https://www.abisource.com/wiki/GSoC_2011_-_Hyphenation#Add_hyphenation_function_in_Enchant

martonmiklos ( 2017-11-06 08:29:54 +0200 )edit

@nthn P.s.: updated RPM on openrepos

martonmiklos ( 2017-11-06 08:36:36 +0200 )edit

@martonmiklos: many thanks, as always! Hopefully the promotion of our languages to official status will come soon, so you don't have to bother with updating all the packages anymore.

nthn ( 2017-11-06 18:25:19 +0200 )edit

Thanks @martonmiklos. I used your tools to add some suggestions in Slovenian. Mostly typos. I did miss hyphen words support though a bit.

Filip K. ( 2018-07-12 01:50:27 +0200 )edit
Login/Signup to Answer

Question tools

Follow
1 follower

Stats

Asked: 2017-10-21 23:26:06 +0200

Seen: 209 times

Last updated: Oct 25 '17