Files
nairobi/spec/features
voodoorai2000 0a0261900c Display language name or language key
There where two issues with the current implementation:

- There was a possible duplication between looking up the language name in key "locale" and in key "i18n.language.name"

- The "default" option was not being picked up, as the fallback always returned the default locale's translation, "English"

With this implementation there is only a single place to put the language name: i18n.language.name. I think this place is easier to find and understand for Crowdin translators than a "locale" key hidden in general.yml

If the translation is not found we display the language key, instead of English, which makes more sense to me too 😌

Solution based on recent comments[1] on a related I18n issue

[1] https://github.com/svenfuchs/i18n/issues/365#issuecomment-419263847
2018-10-05 18:08:41 +02:00
..
2018-07-12 10:17:25 -04:00
2015-09-13 11:47:57 +02:00
2018-07-20 12:28:56 +02:00
2016-02-08 17:49:03 +01:00
2018-07-15 13:58:32 +02:00
2018-05-22 15:41:10 +02:00