This is the documentation page for Module:BDD/localize
| This module is rated as alpha. It is ready for third-party input, and may be used on a few pages to see if problems arise, but should be watched. Suggestions for new features or changes in their input and output mechanisms are welcome. |
This is a submodule for Behavior-driven development to do localization.
All localizations are found at Special:Prefixindex/Module:BDD/localize/, that is the subpages with names given as language codes.
Usage
There is a message "xit", and it can be accessed like the following
local g = require 'Module:BDD/localize'
local xit = g('xit')
The same message can be overridden with a system message Mediawiki:bdd-xit. An override set as a system message is "hard" and will override any message set in the subpages. Usually it is better to redefine the message in the subpages for localization, and only set a message in the Mediawiki space if it is really important to use that spesific form.
