UNPKG

p5

Version:

[![npm version](https://badge.fury.io/js/p5.svg)](https://www.npmjs.com/package/p5)

16 lines (14 loc) 633 B
export { default as en_translation } from './en/translation'; export { default as es_translation } from './es/translation'; /** * When adding a new language, add a new "export" statement above this. * For example, if we were to add fr ( French ), we would write: * export { default as fr_translation } from './fr/translation'; * * If the language key has a hypen (-), replace it with an underscore ( _ ) * e.g. for es-MX we would write: * export { default as es_MX_translation } from './es-MX/translation'; * * "es_MX" is the language key whereas "translation" is the filename * ( translation.json ) or the namespace */