| MtDu added a comment. |
- You need to find a syntax error in a message. To do this, you must first find a message in the en.json file that translators could get confused with when translating. For example, in the 'tagline' message in core/languages/i18n/en.json has a {{SITENAME}} that should NOT be edited during translation. However, some languages have done so. As a result, you must then go on translatewiki.net, make an account, and fix this error. Some messages may have obvious syntax errors, but you will be unable to fix them because you are not a native speaker of the language. That is ok. Comment on the issue you found on the phab task here. A sample edit is here https://translatewiki.net/w/i.php?title=MediaWiki:Aboutsite/luz&diff=prev&oldid=7189506
- In order to find errors, you must first look in the en.json files through the messages to see if there is any possible source of error. Then, confirm this is an error by looking at the documentation for that message in the qqq.json file. Once you have done that, use git grep (https://git-scm.com/docs/git-grep) to look throughout the i18n folder for possible languages that have a syntax error.
Let's take this for example:
grep '"viewcount"' *.json | egrep -v '(qqq.json|PLURAL)'
This command will look for all 'viewcount' messages in all json files in the folder (languages/i18n/..) but exclude (egrep -v) all finds that already have PLURAL in them, as well as the qqq.json file.
If anything needs more clarification, feel free to ask me or @jayvdb or just post your question here.
Good luck!
TASK DETAIL
EMAIL PREFERENCES
To: MtDu
Cc: MtDu, PratyyaGhosh, Xqt, pywikibot-bugs-list, Psychoslave, Nikerabbit, Nemo_bis, jayvdb, Aklapper, SacredWKnight, Taquo, catalandres, D3r1ck01, MuhammadShuaib, Gryllida, Josve05a, Shizhao, Arrbee, KartikMistry, Jay8g
Cc: MtDu, PratyyaGhosh, Xqt, pywikibot-bugs-list, Psychoslave, Nikerabbit, Nemo_bis, jayvdb, Aklapper, SacredWKnight, Taquo, catalandres, D3r1ck01, MuhammadShuaib, Gryllida, Josve05a, Shizhao, Arrbee, KartikMistry, Jay8g
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
