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

[WIP] [Upstream] Update translations from Crowdin #1674

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

voodoorai2000
Copy link
Member

@voodoorai2000 voodoorai2000 commented Oct 17, 2018

References

PR: consuldemocracy#2961
PR: consuldemocracy#2974
PR: consuldemocracy#2963

Objectives

Sync translations from Crowdin

Note

@decabeza should review these translations before merging 😌
We should also add the translations from the latest Crowdin PR before review

This PR is an aggregate of the three referenced PRs. They are all related and only include translation files

@voodoorai2000 voodoorai2000 force-pushed the crowdin_sync branch 2 times, most recently from b64f373 to 26cf4c2 Compare October 17, 2018 14:33
These translation keys are used to set the order in which a date object will be displayed[1]

They should not be translated, just reordered if it makes more sense of a given language

If the expected values are not found an exception is raised: ".date.order only accepts :year, :month and :day"

They should probably be somewhere else so that Crowdin translators don't feel the need to translate it. But that is a battle for another day 😌 for now simply fixing them

[1] https://guides.rubyonrails.org/i18n.html#action-view-helper-methods
There seems to be some differences between the folder name and the locale name used in the files themselves.

For example: the folder might have been called "de-DE", for German, but the files use one "de"

And thus translations where not being displayed

Using the locale key in the files and modifying the folder name if neccesary, let's see what happens in the next Crowdin pull, might need to review more thoroughly why this is happening (maybe due to custom settings in Crowdin)
Some language names seem to have disappeared and others where being displayed in the the locale with extension (`de-DE` instead of in `de`)

Probably some temporary issues until Github and Crowdin are in sync 😌
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant