Skip to content

Translation, reverse translation, and cross translation

thepian edited this page Mar 19, 2013 · 4 revisions
var translate = Resolver("essential:translate");

translate(key,params)

	// (key,params)
	// ({ key:key },params)
	// ({ key:key, context:context },params)
	// ({ phrase:phrase },params)

var setKeysForLocale = Resolver("translations:setKeysForLocale");

setKeysForLocale(locale,context,keys,BucketGenerator)

Clone this wiki locally