Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macros: language selector fixes #51

Merged
merged 2 commits into from Feb 17, 2017

Conversation

lnielsen
Copy link
Member

  • Fixes language selectors which where wrongly using I18N_LANGUAGES
    configuration variable instead of current_i18n.get_locales() to
    iterate over languages.

  • Fixes language selectors to display the language title in the locale
    language.

  • Adds clarification to documentation on how to properly configure
    languages for Invenio-I18N.

Signed-off-by: Lars Holm Nielsen lars.holm.nielsen@cern.ch

@@ -22,4 +22,4 @@ msgstr ""
#: invenio_i18n/templates/invenio_i18n/macros/language_selector.html:31
#: invenio_i18n/templates/invenio_i18n/macros/language_selector.html:41
msgid "Language:"
msgstr ""
msgstr "Sprog:"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have you pushed it to Transifex? Nobody should update PO files locally, but instead run tx pull -l da after editing online.

--
See https://www.transifex.com/inveniosoftware/invenio/translate/#da/invenio-i18n-messages/95780369

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now pulled from transifex.

* Fixes language selectors which where wrongly using I18N_LANGUAGES
  configuration variable instead of current_i18n.get_locales() to
  iterate over languages.

* Fixes language selectors to display the language title in the locale
  language.

* Adds clarification to documentation on how to properly configure
  languages for Invenio-I18N.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
* Pulls latest translations from Transifex.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
@lnielsen lnielsen merged commit ceadec4 into inveniosoftware:master Feb 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants