VincentWei / MiniGUI

A modern and mature cross-platform window system for embedded systems and smart IoT devices.
http://www.minigui.com
GNU General Public License v3.0
694 stars 157 forks source link

请问多语言是有什么方式在minigui中实现? #59

Closed steprun closed 3 years ago

steprun commented 3 years ago

请问多语言是有什么方式在minigui中实现?

VincentWei commented 3 years ago

You can refer to https://github.com/VincentWei/mg-demos/tree/master/cbplusui

It uses GNU gettext .mo files to implement support for multi-language.

steprun commented 3 years ago

You can refer to https://github.com/VincentWei/mg-demos/tree/master/cbplusui

It uses GNU gettext .mo files to implement support for multi-language.

这个示例应该是刚启动的时候可以用, 如果多个窗口同时显示, 在设置项中修改应该是不能同时把其它窗口为多语言文字修改吧?

VincentWei commented 3 years ago

Sorry that I can not understand your question. You can use your own solution to support L10N.