build method

_StringsEn build()

Gets a new translation instance. LocaleSettings has no effect here. Suitable for dependency injection and unit tests.

Usage: final t = AppLocale.en.build(); // build String a = t.my.path; // access

Implementation

_StringsEn build() {
	switch (this) {
		case AppLocale.en: return _StringsEn.build();
		case AppLocale.ja: return _StringsJa.build();
		case AppLocale.ko: return _StringsKo.build();
		case AppLocale.zhHans: return _StringsZhHans.build();
		case AppLocale.zhHant: return _StringsZhHant.build();
	}
}