Closed john-lang-86 closed 2 years ago
Saraiki is an important language, so Saraiki language be added.
mpQadir
I've been unable to leverage the Google/DeepL translators for a few locales (language_region) and skr
Saraiki is one of them.
Here is the .pot file being used for the above documentation of my exploration in learning about .pot, .po and .mo files for WordPress plugins (with Po Edit Pro appication & services). With an intentional focus to understand how well the online translators have improved.
If you are able to assist with providing a skr
Saraiki .po file before the Milestone 2.5.2 due date on 28 March 2022 then it can be added to the 100+ languages to be submitted to the plugin author for review and inclusion.
Dear, Here are some files. For Saraiki.po.zip Hoping that it will help.
Hi mpQadir, Thank you for the Saraiki zip file. There appears to be quite a lot of good effort put into these PO files for the core WordPress translation.
Unfortunately, I could not make much use of those files due to there being only a very small number of matching phrases to the ones in the updated Maintenance Mode plugin. I did start down the path of trying to put it together, like a jigsaw puzzle, by translating individual words into phrases but the result was patchy and still left quite a few phrases un-translated.
At this point, I'll be moving on from this specific language and leaving it to someone who is a native speaker of Saraiki to do the specific translation of the Maintenance Mode phrases.
Thanks again for providing the zip file to at least allow me the opportunity to see if it could be put together. Kind regards, John
Pre-requisite #8
Add missing language translations for new strings added in the settings page in 2.5, 2.5.1 and 2.5.2.
... time to RTFM and learn 'PO Edit'.
Observation 1: Found the maintenance mode plugin official language pack site.
Situation 1: There is a clear note about 'be careful with machine translations' as they are generally not an acceptable practice and that they don't even want them to be submitted for review. Ok, good to know for the core language packs supported by the official polyglots teams. So, I just won't submit any of this to them, in alignment with their desires.
Conclusion 1: Let's explore the quality of reverse translation and/or the PoEdit Translation Memory capability and/or the already translated terminology in the official WordPress core files (a small tweak to use their domain, could be an option, maybe?).
Situation 2: A Kinsta article on Multilingual WordPress indicates there are 12 primary languages that should be included if we want to cover a large portion of the user community.![kinsta-native-language-research](https://user-images.githubusercontent.com/97158287/158047571-7080c864-c1ca-450c-ac1e-935587352f59.jpg)
Situation 3: The Stripe payment utility supports these languages. If a language has enough traffic and financial throughput then it should also have a lot of WordPress sites ... that need a localised 'Maintenance Mode' plugin in their language. :-)
Conclusion 3: Let's make sure they are all covered, if possible.
Situation 4: As-at 26/01/2022, only 138 locales (language_region) of 205 have > 50% translation status.
Conclusion 4: Let's cross-reference against the WordPress Statistics for Locales to align with locales that are actively contributing/translating ... allowing this activity to focus on the wider and active user communities.
Tip: The PO and MO files should have the WordPress plugin slug as the file prefix ...
lj-maintenance-mode-en_US.po
.Tip: PoEdit Pro uses DeepL service for pre-translation capability. Yes, please, this is what should be used.
Tip: Each .po file can leverage the 'Translation' -> 'Update from Source Code' menu option; when two configuration options are in place to be able to scan the PHP source code that is the WordPress plugin.
Situation 5: The DeepL machine translations don't really like the sprintf( %s ) embedded approach, assuming this is because the %s is a technology injection for pre-processors to parse in a run-time environment, which really has nothing to do with locales (language_region) native language spoken as part of day-to-day living. While paragraphs are the recommended solution, seriously consider treating the %s like the markup recommendation (aka break it up into smaller translations)(???).
Conclusion 5-1: Ok, this approach (to remove the %s technology injections) has now been confirmed as a decent way forward. Way more of the pre-translation requests are coming back with a 100% completed list of translation values filled in. This first step of providing a pre-translation will make it a lot easier for a native speaker of each locale (language_region) to cast their eye over the pre-translations and spot where the online machine learning proposals were less than ideal.
Conclusion 5-2: Ok, the other approach to improve the pre-translation quality is to improve the "Readability" of the original English. Seems like an obvious statement, but it was not something that initially stood out at the beginning of this pre-translation experiment. Services like www.grammarly.com and www.readable.com were helpful as a pre-requisite step to improve the original content before engaging the pre-translation service.
Solution 6: As-at 26/01/2022, this is the WordPress statistics for locales (language_region) installed.
en_US
English (US) 44.08%es_ES
Spanish (Spain) 5.97%ja
Japanese 5.78%de_DE
German (Germany) 5.72%fr_FR
French (France) 4.27%en_GB
English (UK) 3.63%it_IT
Italian (Italy) 3.15%pt_BR
Portuguese (Brazil) 2.97%ru_RU
Russian (Russia) 2.76%nl_NL
Dutch (Netherlands) 2.57%pl_PL
Polish (Poland) 1.95%tr_TR
Turkish (Turkey) 1.23%fa_IR
Persian (Iran) 0.90%zh_CN
Chinese (China) 0.87%vi
Vietnamese 0.78%en_AU
English (Australia) 0.78%pt_PT
Portuguese (Portugal) 0.71%sv_SE
Swedish (Sweden) 0.66%cs_CZ
Czech (Czech Republic) 0.61%id_ID
Indonesian (Indonesia) 0.52%da_DK
Danish (Denmark) 0.51%hu_HU
Hungarian (Hungary) 0.46%en_CA
English (Canada) 0.43%he_IL
Hebrew (Israel) 0.35%es_MX
Spanish (Mexico) 0.34%ar
Arabic 0.34%ro_RO
Romanian (Romania) 0.32%zh_TW
Chinese (Taiwan) 0.30%fi
Finnish 0.29%ko_KR
Korean (South Korea) 0.28%el
Greek 0.28%th
Thai 0.26%sk_SK
Slovak (Slovakia) 0.24%nb_NO
Norwegian Bokmål (Norway) 0.23%de_DE_formal
German (Formal) 0.20%en_ZA
English (South Africa) 0.19%de_CH
German (Switzerland) 0.14%bg_BG
Bulgarian (Bulgaria) 0.14%es_CL
Spanish (Chile) 0.14%es_AR
Spanish (Argentina) 0.13%ca
Catalan 0.13%uk
Ukrainian 0.13%es_CO
Spanish (Colombia) 0.12%hr
Croatian 0.10%lt_LT
Lithuanian (Lithuania) 0.10%Primary language. The first part of a locale (language_region) that are part of the above list (installation statistics), but not directly identified.
bg
Bulgarianzh
Chinesecs
Czechda
Danishnl
Dutchen
Englishfr
Frenchde
Germanhe
Hebrewhu
Hungarianid
Indonesianit
Italianko
Koreanlt
Lithuaniannb
Norwegianfa
Persianpl
Polishpt
Portuguesero
Romanianru
Russiansk
Slovakes
Spanishsv
Swedishtr
TurkishSolution 7: As-at 06/02/2022, there are 42 locales (language_region) that have a WordPress 5.9 100% translation status. These ones are not included in the above-prioritised lists and should be added as there is an active community.
am
Amharicnl_BE
Dutch (Belgium)en_NZ
English (New Zealand)eo
Esperantofr_CA
French (Canada)gl_ES
Galician (Spain)gl
Galicianka_GE
Georgian (Georgia)ka
Georgiande_AT
German (Austria)de_CH_informal
German (Switzerland, Informal)kn
Kannadalv
Latvianes_EC
Spanish (Ecuador)es_VE
Spanish (Venezuela)cy
WelshSolution 8: As-at 06/02/2022, there are 27 locales (language_region) that have a WordPress 5.9 95% translation status. These ones are not included in the above-prioritised lists and should be added as there is an active community.
sq
Albanianeu
Basquebs
Bosnianzh_HK
Chinese (Hong Kong)nl_NL_formal
Dutch (Formal)kab
Kabyle ... DeepL service unable to pre-translate most strings.ckb
Kurdish (Sorani) ... DeepL service does not offer this language for translation.dsb
Lower Sorbian ... DeepL service unable to pre-translate most strings.fa_AF
Persian (Afghanistan)pt_PT_ao90
Portuguese (Portugal, AO90) ... DeepL service does not offer this language for translation.skr
Saraiki ... DeepL service does not offer this language for translation.es_CR
Spanish (Costa Rica)es_DO
Spanish (Dominican Republic)es_PE
Spanish (Peru)hsb
Upper Sorbian ... DeepL service unable to pre-translate most strings.Solution 9: As-at 06/02/2022, there are 11 locales (language_region) that have a WordPress 5.9 90% translation status. These ones are not included in the above-prioritised lists and should be added as there is an active community.
af
Afrikaansfr_BE
French (Belgium)sr_RS
Serbian (Cyrillic, Serbia)sl_SI
Slovenian (Slovenia)ur
Urdupt_AO
Portuguese (Angola)sr
Serbiansnd
Sindhi ... DeepL service does not offer this language for translation.sl
SlovenianSolution 10: As-at 27/03/2022, there are quite a few languages supported by the Stripe financial payment processing service.
bg
Bulgarian ... already included in the WordPress translations at 90% and above.hr
Croatian ... already included in the WordPress translations at 90% and above.cs
Czech ... already included in the WordPress translations at 90% and above.da
Danish ... already included in the WordPress translations at 90% and above.nl
Dutch ... already included in the WordPress translations at 90% and above.en
English ... already included in the WordPress translations at 90% and above.et
Estonianfi
Finnish ... already included in the WordPress translations at 90% and above.fil
Filipinofr
French ... already included in the WordPress translations at 90% and above.de
German ... already included in the WordPress translations at 90% and above.el
Greek ... already included in the WordPress translations at 90% and above.hu
Hungarian ... already included in the WordPress translations at 90% and above.id
Indonesian ... already included in the WordPress translations at 90% and above.it
Italian ... already included in the WordPress translations at 90% and above.ja
Japanese ... already included in the WordPress translations at 90% and above.ko
Korean ... already included in the WordPress translations at 90% and above.lv
Latvian ... already included in the WordPress translations at 90% and above.lt
Lithuanian ... already included in the WordPress translations at 90% and above.ms
Malaymt
Maltesenb
Norwegian Bokmål ... already included in the WordPress translations at 90% and above.pl
Polish ... already included in the WordPress translations at 90% and above.pt
Portuguese ... already included in the WordPress translations at 90% and above.ro
Romanian ... already included in the WordPress translations at 90% and above.ru
Russian ... already included in the WordPress translations at 90% and above.zh
Simplified Chinese ... already included in the WordPress translations at 90% and above.sk
Slovak ... already included in the WordPress translations at 90% and above.sl
Slovenian ... already included in the WordPress translations at 90% and above.es
Spanish ... already included in the WordPress translations at 90% and above.sv
Swedish ... already included in the WordPress translations at 90% and above.th
Thai ... already included in the WordPress translations at 90% and above.tr
Turkish ... already included in the WordPress translations at 90% and above.vi
Vietnamese ... already included in the WordPress translations at 90% and above.Solution 11: While these locales (language_region) were not prioritised for the above specific and targeted reasons, they have been done because the PoEdit applications pre-translate service did provide a complete set of translation responses. While this is not a good enough reason to ensure quality, it is good enough for this learning experiment in understanding the current state of pre-translation service capability, at a high level.
hy
Armenianas
Assameseaz
Azerbaijanibe
Belarusianbn
Bengalimy
Burmeseyue
Cantonesegu
Gujaratiha
Hausahaw
Hawaiianhi
Hindiis
Icelandicig
Igboga
Irishkm
Khmerrw
Kinyarwandako_KP
Korean (North Korea)ky
Kyrgyzlao
Laolb
Luxembourgishmk
Macedonianmg
Malagasyml
Malayalammr
Marathimn
Mongolianne
Nepalinn
Norwegian Nynorskor
Oriyaps
Pashtopa
Punjabigd
Scottish Gaelicso
Somalita
Tamilbo
Tibetanto
Tonganuz
Uzbekyi
Yiddishzu
Zulu