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

Switch to crowdin #1171

Merged
merged 2 commits into from Sep 27, 2017

Conversation

Projects
None yet
2 participants
@noirbizarre
Copy link
Member

commented Sep 27, 2017

This PRs start to document the translation process using crowdin and remove all transifex references

@noirbizarre noirbizarre added this to the 1.2.0 milestone Sep 27, 2017

@noirbizarre noirbizarre requested a review from opendatateam/etalab Sep 27, 2017

@noirbizarre noirbizarre force-pushed the noirbizarre:switch-to-crowdin branch from 9391b90 to f3187e7 Sep 27, 2017

@abulte

abulte approved these changes Sep 27, 2017

Copy link
Member

left a comment

A few typo


!!! warning
We only translate strings from the `master` branch of the repository, do not push languages on any other branch because merging translations is incredibly painful.
We only translate strings from the `master` and maintenance branches of the repository,
Do not push languages on any other branch because merging translations is incredibly painful.

This comment has been minimized.

Copy link
@abulte

abulte Sep 27, 2017

Member

either no capital D or a point instead of a comma above.



## Existing languages

The command `inv i18n` retrieve all these strings locally that you can then push to Transifex with the command `tx push -s`.
The command `inv i18n` retrieve all these strings locally.
Pushing the changes on any branch will automatically update translatables strings on crowdin..

This comment has been minimized.

Copy link
@abulte

abulte Sep 27, 2017

Member

*Crowdin + double point

This comment has been minimized.

Copy link
@abulte

abulte Sep 27, 2017

Member

*translatable



## Proposing a new language

Propose the new language on [Transifex][transifex-udata], once accepted you can:
To propose a new language you need to submit a pull-request:

This comment has been minimized.

Copy link
@abulte

abulte Sep 27, 2017

Member

No -?

- import the initial translations from transifex: `tx pull -r <language_code>`
- add the corresponding flag in the default theme static assets (use one from [famfamfam flags][famfamfam-flags])
* check that it compiles with the command `inv i18nc` and that it is displayed as you expect on your local instance
- add the corresponding flag in the default theme static assets (use one from [famfamfam flags][famfamfam-flags]) instance

This comment has been minimized.

Copy link
@abulte

abulte Sep 27, 2017

Member

for instance?

* submit the pull request

Once it has been accepted, we will also create the new language translation crowdin.

This comment has been minimized.

Copy link
@abulte

abulte Sep 27, 2017

Member

in Crowdin?

@noirbizarre noirbizarre force-pushed the noirbizarre:switch-to-crowdin branch from f3187e7 to be6012c Sep 27, 2017

@noirbizarre noirbizarre force-pushed the noirbizarre:switch-to-crowdin branch from be6012c to c7f4506 Sep 27, 2017

@noirbizarre noirbizarre merged commit 6ed16a2 into opendatateam:master Sep 27, 2017

3 checks passed

ci/circleci: assets Your tests passed on CircleCI!
Details
ci/circleci: dist Your tests passed on CircleCI!
Details
ci/circleci: python Your tests passed on CircleCI!
Details

@noirbizarre noirbizarre deleted the noirbizarre:switch-to-crowdin branch Sep 27, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.