You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
491 B
491 B
How to add a new translation?
Assume that we are adding a new translation for new
.
- copy
app/locales/en.ts
toapp/locales/new.ts
; - edit
new.ts
, changeconst en: LocaleType =
toconst new: PartialLocaleType
, andexport default new;
; - edit
app/locales/index.ts
: import new from './new.ts'
;- add
new
toALL_LANGS
; - add
new: "new lang"
toALL_LANG_OPTIONS
; - translate the strings in
new.ts
; - submit a pull request, and the author will merge it.