Loading...
Loading...
Test Yoruba (yo) and English bilingual interfaces for tone marks, underdots, Unicode normalization, translation fallback, and accessibility.
npx skill4agent add affaan-m/ecc yoruba-localization-testingi18n-syncaccessibilityyoenẹọṣáàẹ́ọ̀yoenlang="yo"enyoexamples/localization.mjsimport { translate, sameNormalizedText } from './examples/localization.mjs';
translate('yo', 'welcome'); // 'Ẹ káàbọ̀'
translate('yo', 'logout'); // 'Log out' (English fallback)
sameNormalizedText('ẹ́', 'ẹ\u0301'); // true: canonically equivalent
sameNormalizedText('ẹ', 'e'); // false: different Yoruba letters<span lang="yo">Ẹ káàbọ̀</span>node skills/yoruba-localization-testing/examples/localization.test.mjstext.normalize('NFD').replace(/\p{M}/gu, '')ẹeọoṣsIntlyoi18n-syncaccessibilityfrontend-patternstdd-workflow