fagnerpc / Alekfull-ARTFLIX

ARTFLIX for BATOCERA, RETROBAT, EMUELEC and BATOCERA PLUS
103 stars 37 forks source link

How to add zh_CN translation? #11

Closed edouardlicn123 closed 2 years ago

edouardlicn123 commented 2 years ago

Hello.

I have made some translation on theme.xml in zh_CN,and set Emuelec in Chinese Simplify, but it dosen't work.I will post below what I have done below.Could anyone tell me what I missed?

theme.xml

  <variables lang="zh_CN">
    <tilesViewName>缩略图</tilesViewName>
    <tilesVideoViewName>缩略图 + 视频</tilesVideoViewName>
    <tilesVideoMarqueeViewName>缩略图 + 视频 + 标志</tilesVideoMarqueeViewName>
    <basicGridName>盒子</basicGridName>
    <basicGridDetailsName>盒子 + 细节</basicGridDetailsName>
    <basicGridVideoName>盒子 + 视频</basicGridVideoName>
    <carouselViewName>轮播</carouselViewName>
    <carouselDefaultViewName>简单轮播</carouselDefaultViewName>
    <carouselDetailsViewName>详细轮播</carouselDetailsViewName>
    <carouselposterViewName>轮播海报</carouselposterViewName>
    <carouselDetailssViewName>轮播(背景图片+视频)</carouselDetailssViewName>
    <hartfdefViewName>Artflix (标准视图)</hartfdefViewName>
    <hspindefViewName>HSpin (标准视图)</hspindefViewName>
    <hspinfvlViewName>HSpin (全屏视频+徽标)</hspinfvlViewName>
    <hspinfvcViewName>HSpin (全屏视频+封面s)</hspinfvcViewName>
    <nflixxViewName>NFlix (静止)</nflixxViewName>
    <nflixvideocViewName>NFlix (视频+封面)</nflixvideocViewName>
    <nflixvideolViewName>NFlix (视频 + 标志)</nflixvideolViewName>
    <yes>是</yes>
    <no>否</no>
    <none>无</none>
    <sysmusic>Active</sysmusic>
    <systex>纯文本</systex>
    <syslog>仅徽标</syslog>
    <nomusic>随机的</nomusic>
    <silence>没有背景音乐</silence>
    <default>Standard</default>
    <huegreen>绿</huegreen>
    <huered>红</huered>
    <hueblue>蓝</hueblue>
    <huepurple>紫</huepurple>
    <icondef>图标 标准</icondef>
    <hspinadefViewName>CoinOps 标准</hspinadefViewName>
    <hcoinopsdViewName>CoinOps 详细</hcoinopsdViewName>
    <copstv>仅限电视</copstv>
    <copsarc>仅限街机</copsarc>
    <svhsgl>VHS Glitch (响亮)</svhsgl>
    <scrtgl>CRT Glitch (响亮)</scrtgl>
    <scrtfs>CRT 全屏</scrtfs>
    <sclfs>Scanlines 全屏</sclfs>
    <srandvideo>随机视频</srandvideo>
    <srandvideol>随机视频 (Logos)</srandvideol>
    <svwheel>动态视频背景</svwheel>
    <svwheell>动态视频背景 (Logos)</svwheell>
    <srandbg>随机游戏壁纸</srandbg>
    <srandbgl>随机游戏壁纸 (Logos)</srandbgl>
    <srandbbg>随机同人作品壁纸</srandbbg>
    <srandbbgl>随机同人作品壁纸 (Logos)</srandbbgl>
    <svrandvid>随机视频游戏背景</svrandvid>
    <svrandvidl>随机视频游戏背景(Logos)</svrandvidl>
    <scustimg>自定义背景图片</scustimg>
    <scustimgl>自定义背景图片(Logos)</scustimgl>
    <snocarou>无垂直轮播</snocarou>
    <subset.systemview>系统视图</subset.systemview>
    <subset.colorset>背景图片</subset.colorset>
    <subset.iconset>菜单图标</subset.iconset>
    <subset.shader>主题着色器</subset.shader>
    <subset.music>系统音乐</subset.music>
    <subset.MainBGColor>主背景色 </subset.MainBGColor>
    <subset.tveffect>Vista CoinOps 屏幕效果</subset.tveffect>
    <subset.CoinOpsDefault>Vista CoinOps 背景模板</subset.CoinOpsDefault>
    <subset.syscarousel>系统选择轮播</subset.syscarousel>
    <subset.sysname>系统选择中的系统名称</subset.sysname>
    <subset.ShowTopMarquee>在 CoinOps 视图中显示顶部选取框</subset.ShowTopMarquee>
  </variables>

Is there any thing should let system detect now is Chinese?Or I should work on the po file?

edouardlicn123 commented 2 years ago

OK,I found it should be "ZH".Ohhh......