开发者

How to cope with an multi language system with pulldowns?

I have builded an system with php an MySQL. This has been set as multi language, so each user can choose it's own language. How do I work with pulldowns?

Most of these menus are generated from the database. How would you make this work for an multi language开发者_StackOverflow system?


The database generated string would simply be used as a parameter to gettext, which would then chose a translated string if one was available for the selected language. If one isn't available, it would default to the provided string.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜