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

EZP-26834 : document translation workflow with Crowdin #163

Merged
merged 1 commit into from
Mar 6, 2017

Conversation

nicolas-bastien
Copy link
Contributor

Documentation for Jira : https://jira.ez.no/browse/EZP-26834

Description

This documents the translation workflow with crowdin.

Test

Test manually

Copy link
Contributor

@DominikaK DominikaK left a comment

Choose a reason for hiding this comment

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

Just some typos and punctuation


eZ Platform is translated in several languages with the help of [Crowdin][crowdin-ezplatform].

To organize contribution and allow users to install only what they need, we setup a workflow
Copy link
Contributor

Choose a reason for hiding this comment

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

To organize contribution and allow users to install only what they need, we set up a workflow

To organize contribution and allow users to install only what they need, we setup a workflow
based on three steps.

## eZ Platform i18n : Main translation repository
Copy link
Contributor

Choose a reason for hiding this comment

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

eZ Platform i18n: Main translation repository


## eZ Platform i18n : Main translation repository

To be able to provide a single translation project on our translators platform, we gathered every translation
Copy link
Contributor

Choose a reason for hiding this comment

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

To be able to provide a single translation project on our translator platform, we gathered all translation

## eZ Platform i18n : Main translation repository

To be able to provide a single translation project on our translators platform, we gathered every translation
files is a single repository which is synchronized with Crowdin.
Copy link
Contributor

Choose a reason for hiding this comment

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

files in a single repository which is synchronized with Crowdin.

To be able to provide a single translation project on our translators platform, we gathered every translation
files is a single repository which is synchronized with Crowdin.

Translators can contribute on Crowdin and every contribution are merged in this repository.
Copy link
Contributor

Choose a reason for hiding this comment

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

Translators can contribute on Crowdin and every contribution is merged into this repository.


To allow user to install only what they need, we have splitted every languages in a dedicated package.

Every translation packages are published on [ezplatform-i18n organisation on github][ezplatform-i18n-org]
Copy link
Contributor

Choose a reason for hiding this comment

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

All translation packages are published on [ezplatform-i18n organisation on github][ezplatform-i18n-org]


Every translation packages are published on [ezplatform-i18n organisation on github][ezplatform-i18n-org]

**Important** : this packages are read only, they must be updated with the [eZ Platform i18n git split command][ezplatform-i18n].
Copy link
Contributor

Choose a reason for hiding this comment

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

Important: these packages are read only, they must be updated with the [eZ Platform i18n git split command][ezplatform-i18n].


If you want to install a new language in your project, you just have to install the corresponding package.

For example if you want to translate your application in Portuguese (pt_PT : the only package supported by our QA team ;)),
Copy link
Contributor

Choose a reason for hiding this comment

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

For example, if you want to translate your application into Portuguese (pt_PT: the only package supported by our QA team ;)),

If you want to install a new language in your project, you just have to install the corresponding package.

For example if you want to translate your application in Portuguese (pt_PT : the only package supported by our QA team ;)),
you just have to run :
Copy link
Contributor

Choose a reason for hiding this comment

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

you just have to run:


composer require ezplatform-i18n/ezplatform-i18n-pt_pt

and them clean the cache.
Copy link
Contributor

Choose a reason for hiding this comment

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

and then clean the cache.


**Important** : this packages are read only, they must be updated with the [eZ Platform i18n git split command][ezplatform-i18n].

## Install a new language on your project
Copy link
Contributor

Choose a reason for hiding this comment

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

I would move this paragraph in README.md on INSTALL.md as it is for users and not contributors

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@yannickroger I think it make sense to put that here because it's the end of the workflow to validate that the UI is translate

Copy link
Contributor

@yannickroger yannickroger Feb 3, 2017

Choose a reason for hiding this comment

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

So who is the persona for that documentation?

For me, installing a language is a regular admin user. While understanding how we integrate crowdin is more for contributors. That's why I would move this paragraph to a "admin" doc file. But we could add a sentence here saying to install a language as stated in install.md

To be able to provide a single translation project on our translators platform, we gathered every translation
files is a single repository which is synchronized with Crowdin.

Translators can contribute on Crowdin and every contribution are merged in this repository.
Copy link
Contributor

Choose a reason for hiding this comment

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

You should add a link to the repository

@nicolas-bastien nicolas-bastien force-pushed the EZP-25430-translation-process-doc branch from 3b823f8 to a9c2a2d Compare February 2, 2017 14:02
@nicolas-bastien
Copy link
Contributor Author

@DominikaK done thanks a lot, I guess it's obvious we really need doc writers ;-)

@yannickroger I added the link


If you want to install a new language in your project, you just have to install the corresponding package.

For example, if you want to translate your application into Portuguese (pt_PT: the only package supported by our QA team ;)),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@pcardiga ;-)

Copy link

Choose a reason for hiding this comment

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

:)

Copy link
Contributor

@DominikaK DominikaK left a comment

Choose a reason for hiding this comment

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

One more proofing pass

@@ -4,75 +4,33 @@

eZ Platform is translated in several languages with the help of [Crowdin][crowdin-ezplatform].

To organize contribution and allow users to install only what they need, we set up a workflow
based on three steps.
This documentation presents you the overall concept from the contribution to the distribution with every actor of it.
Copy link
Contributor

Choose a reason for hiding this comment

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

This documentation presents the overall concept from contribution to distribution for every participant.


To be able to provide a single translation project on our translator platform, we gathered all translation
files in a single repository which is synchronized with Crowdin.
This part is made for contributors to eZ Platform. It will explain you how to format your contribution
Copy link
Contributor

Choose a reason for hiding this comment

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

This part is for contributors to eZ Platform. It will explain to you how to format your contribution


### Translation extraction
Then you need to add this new strings in the translation process so they can be translated.
Copy link
Contributor

Choose a reason for hiding this comment

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

Then you need to add these new strings to the translation process so they can be translated.


### Translation extraction
Then you need to add this new strings in the translation process so they can be translated.
This part is made for eZ System team to present the process to send new string for translation.
Copy link
Contributor

Choose a reason for hiding this comment

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

This part is made for the eZ Systems team to present the process of sending the new string for translation.


**Important**: you'll notice that all files will be updated at least to change the date attribute. If this is the
only change to a file, please don't commit it.
When translators have worked, it's time to integrate their translations and distribute it.
Copy link
Contributor

Choose a reason for hiding this comment

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

When translators are done, it's time to integrate their translations and distribute them.


## Introduction

This documentation is made for eZ Platform integrators which realize projects based on eZ Platform and will present you
Copy link
Contributor

Choose a reason for hiding this comment

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

This documentation is made for eZ Platform integrators who realize projects based on eZ Platform. It will present

## Introduction

This documentation is made for eZ Platform integrators which realize projects based on eZ Platform and will present you
how to install a new package of translation on your project.
Copy link
Contributor

Choose a reason for hiding this comment

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

how to install a new package of translation in your project.


## Introduction

This documentation is made for eZ System team to present the process to send new string for translation.
Copy link
Contributor

Choose a reason for hiding this comment

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

This documentation is made for the eZ Systems team to present the process of sending the new string for translation.


Before extracting new strings you have to make sure that your eZ Systems bundles are up to date on your eZ Platorm installation.

Then your project should be in dev mode with developement dependancies installed and ezsystems/ezplatform-i18n up to date.
Copy link
Contributor

Choose a reason for hiding this comment

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

Then your project should be in dev mode with development dependencies installed and ezsystems/ezplatform-i18n up to date.


## Add new strings for translation

At this point, this only thing you have to do to add the new string in Crowdin is to merge the PR and make sure that
Copy link
Contributor

Choose a reason for hiding this comment

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

At this point, the only thing you have to do to add the new string in Crowdin is to merge the PR and make sure that

@bdunogier
Copy link
Member

@DominikaK I'm sorry, but would you mind opening up a pull-request against this one with those changes ? This is a lot of them :)

@bdunogier
Copy link
Member

Review changes by @DominikaK merged to this pull-request.

@bdunogier bdunogier force-pushed the EZP-25430-translation-process-doc branch from d37cc3a to 828811b Compare February 14, 2017 10:55
@bdunogier bdunogier force-pushed the EZP-25430-translation-process-doc branch from 828811b to abc6cac Compare February 14, 2017 10:55
@bdunogier bdunogier changed the base branch from master to 1.8 February 14, 2017 10:57
@bdunogier bdunogier merged commit 739e4e1 into 1.8 Mar 6, 2017
@bdunogier bdunogier deleted the EZP-25430-translation-process-doc branch March 6, 2017 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

5 participants