Fix language codes
We should get rid of the ugly hack of using 2-letter language codes only and use proper ISO codes.
I'll start with a pilot project: cn
-> zh-Hans
. I have confirmed with a Chinese-speaking friend that this is Simplified Chinese rather than traditional.
Things to change and test - please add to this list anything I might have forgotten:
-
Language folder names in webcomics -
Transcript files in webcomics -
0_sources/langs.json
-
Diverse functions in plugins/plxMyMultiLingue/plxMyMultiLingue.php
-
List of all languages in plugins/plxMyMultiLingue/config.php
- this is being fed bydata/configuration/plugins/plxMyMultiLingue.xml
-
themes/peppercarrot-theme_v2/lang/zh-Hans.php
-
themes/peppercarrot-theme_v2/static-community-webcomics.php
-
themes/peppercarrot-theme_v2/static-sources.php
-
When everything is done, we can add the sl
parameter to the Wordlink links to automatically select the source language for the dictionary search
Edited by GunChleoc