打开/关闭菜单
打开/关闭个人菜单
未登录
如果您进行任何编辑,您的IP地址会公开展示。

Module:Translate/doc

来自星际公民中文百科

这是Module:Translate的文档页面

Module:Translate requires Module:I18n.
Module:Translate requires Module:LibraryUtil.
Module:Translate requires Strict.
Module:Translate is required by Module:Vehicle.
Module:Translate is required by Module:VehicleHardpoint.

This module allows templates and modules to be easily translated as part of the multilingual templates and modules project. Instead of storing English text in a module or a template, Translate module allows modules to be designed language-neutral, and store multilingual text in the /i18n.json subpage. This way your module or template will use those translated strings (messages), or if the message has not yet been translated, will fallback to English. When someone updates the translation table, your page will automatically update (might take some time, or you can purge it), but no change in the template or module is needed on any of the wikis. This process is very similar to MediaWiki's localisation, and supports all standard localization conventions such as {{PLURAL|...}} and other parameters.

See also

我们为您提供服务需要使用Cookie。使用我们的服务即表示您同意我们使用Cookie。