Erohusat modula «BDD/localize/veahkki» veršuvnnaid gaskkas
Ođđa «BDD/localize/doc» álggahuvvui: «{{Module rating |alpha<!-- Values: pre-alpha • alpha • beta • release • protected -- If a rating not needed/r...» |
u Jeblad sirddii siiddu Module:BDD/localize/doc nammii Module:BDD/localize/veahkki iige ráhkadan ođđasitstivrema. |
(Ii leat erohus)
|
Veršuvdna miessemánnu 1 b. 2018 dii. 20.31
Málle:Module rating 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.