ui/translations
Neil MacDougall ed4a13926f
Remove Ember deprecation banner (#5241)
2025-09-03 08:57:02 +01:00
..
README.md
ar-sa.yaml Removing all references to PSP since they will no longer be supported 2024-01-22 06:21:17 -07:00
de-de.yaml clean up l18n (#5157) 2024-07-31 11:11:48 -07:00
en-us.yaml Remove Ember deprecation banner (#5241) 2025-09-03 08:57:02 +01:00
es-es.yaml clean up l18n (#5157) 2024-07-31 11:11:48 -07:00
fa-ir.yaml Removing all references to PSP since they will no longer be supported 2024-01-22 06:21:17 -07:00
fr-fr.yaml Removing all references to PSP since they will no longer be supported 2024-01-22 06:21:17 -07:00
hu-hu.yaml Remove unused credit card/stripe code and dependencies (#5043) 2023-07-12 10:28:08 -07:00
it-it.yaml Removing all references to PSP since they will no longer be supported 2024-01-22 06:21:17 -07:00
ja-jp.yaml clean up l18n (#5157) 2024-07-31 11:11:48 -07:00
km-kh.yaml Removing all references to PSP since they will no longer be supported 2024-01-22 06:21:17 -07:00
ko-kr.yaml Removing all references to PSP since they will no longer be supported 2024-01-22 06:21:17 -07:00
nb-no.yaml Removing all references to PSP since they will no longer be supported 2024-01-22 06:21:17 -07:00
nl-nl.yaml Removing all references to PSP since they will no longer be supported 2024-01-22 06:21:17 -07:00
none.yaml
pt-br.yaml Removing all references to PSP since they will no longer be supported 2024-01-22 06:21:17 -07:00
ru-ru.yaml Removing all references to PSP since they will no longer be supported 2024-01-22 06:21:17 -07:00
sh-hr.yaml
sv-se.yaml
tr-tr.yaml Removing all references to PSP since they will no longer be supported 2024-01-22 06:21:17 -07:00
uk-ua.yaml clean up l18n (#5157) 2024-07-31 11:11:48 -07:00
vi-vn.yaml Merge pull request #4295 from xibuka/patch-1 2021-07-02 10:08:35 -07:00
zh-hans.yaml clean up l18n (#5157) 2024-07-31 11:11:48 -07:00
zh-hant-tw.yaml clean up l18n (#5157) 2024-07-31 11:11:48 -07:00
zh-hant.yaml clean up l18n (#5157) 2024-07-31 11:11:48 -07:00

README.md

Internationalization

Every piece of localizable text is put into the translation files here.

  • Files must be named matching a locale in the list at https://github.com/andyearnshaw/Intl.js/tree/master/locale-data/jsonp (with a .yaml extension).`
  • The code refers to the appropriate key and it is looked up for the current language to get the string to be displayed.
  • If the key does not exist in the current language, the English value is used as a fallback.
  • If there is no English value either, the un-translated key is shown

Pluralization

Variables can be pluralized with the syntax:

You have {numPhotos, plural,
  =0 {no photos.}
  =1 {one photo.}
  other {# photos.}}

Docs

See ember-intl wiki for more info about supported features in translations, and ICU for more info about pluralization.

Testing

  • You can press shift+L to toggle between the current language and a special none language which will show the translation keys for every string.
  • When starting up the ember server, a warning will be printed for each key that is in en-us but missing from another language.