Modula:BDD/localize/veahkki
Olggosoaidnin
Dette er dokumentasjonssiden for Modula:BDD/localize
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
[rievdat wikiteavsttain]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.