I noticed that many translatable templates use code like {{#invoke:Template translation|renderTranslatedTemplate|template=<!--Template name-->|noshift=1|uselang={{int:lang}}}}
. However, then translation will not show properly when using interface language like zh-cn
or other variants of Chinese (zh), because templates were translated to Chinese only in zh
.
For example, the Chinese translation of sandbox header only shows in (zh) but not in (zh-hans), (zh-cn), (zh-hant) etc.
I thought of two maybe practical solutions:
- Replace all
{{int:lang}}
with{{Zh other}}
. This may be a big project. - Edit Module:Template translation. When
uselang
input variants of Chinese(like zh-hans, zh-cn, zh-hant etc.), automatically change it into zh. This works like{{Zh other}}
, and may be easier.
Hope someone would help with this problem.
(Sorry for my poor English)