First I need to know how many charactors we need to use for Chinese UI. here are what I did.
I made an copy of /application/include/user_interface/languages/english.h, and translated the contents to Simplifiled Chinese.
Here are the contents.
https://doc.amo.host/index.php?share/fi ... d=y4fNuvnZ
I put this file as /application/include/user_interface/languages/chinese-simplified.h.
And I tried to output all uniq charactors we need:
Code: Select all
cat application/include/user_interface/languages/chinese-simplified.h | iconv -f gb2312 -t c99 | grep '\\u[0-9a-f]\{4\}' -o | sort | uniq | iconv -f c99 -t gb2312 >> map.txt
but few hundreds charactors seems not too much, I will try to experiment a way that may need about 20~30KBytes space for storing different font size for these Chinese charactors, and make the ui render function automaticlly fetch font data from your current font and my new extension font based on text content when rendering, and this may make them compatible and maybe no need to make a seperate Chinese Build.
Just for your information.
I will feed back to here if any progress made.
Amo BD4VOW