Skip to content

Commit

Permalink
chore: Migrate transifex config from v2 to v3
Browse files Browse the repository at this point in the history
  • Loading branch information
cballevre committed Feb 8, 2023
1 parent aeeb097 commit bc75c84
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .tx/config
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[main]
host = https://www.transifex.com

[cozy-store.client]
[o:cozy:p:cozy-store:r:src-locales-en-json--master]
file_filter = src/locales/<lang>.json
source_file = src/locales/en.json
source_lang = en
type = KEYVALUEJSON
type = KEYVALUEJSON
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,5 +131,5 @@ You can help us by making our community even more vibrant. For example, you can
[localization]: https://github.com/cozy/cozy-store/blob/master/README.md#localization
[hub]: https://hub.github.com/
[tx]: https://www.transifex.com/cozy/
[tx-start]: http://docs.transifex.com/getting-started/translators/
[tx-start]: https://help.transifex.com/en/articles/6248698-getting-started-as-a-translator
[forum]: https://forum.cozy.io/
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ Localization and translations are handled by [Transifex][tx], which is used by a

As a _translator_, you can login to [Transifex][tx-signin] (using your Github account) and claim an access to the [app repository][tx-app]. Locales are pulled when app is build before publishing.

As a _developer_, you must [configure the transifex client][tx-client], and claim an access as _maintainer_ is the [app repository][tx-app]. Then please **only update** the source locale file (usually `en.json` in client and/or server parts), and push it to Transifex repository using the `tx push -s` command.
As a _developer_, you just have to modify json in `/src/locales`. New locales will be automatically added to Transifex. If you need to pull or push manually locales, you can use [Transifex CLI](tx-cli). If you were using a [transifex-client](tx-client), you must move to [Transifex CLI](tx-cli) to be compatible with the v3 API.


### Maintainer
Expand Down Expand Up @@ -173,8 +173,9 @@ Cozy Settings is developed by Cozy Cloud and distributed under the [AGPL v3 lice
[contribute]: CONTRIBUTING.md
[tx]: https://www.transifex.com/cozy/
[tx-signin]: https://www.transifex.com/signin/
[tx-app]: https://www.transifex.com/cozy/cozy-settings/dashboard/
[tx-client]: http://docs.transifex.com/client/
[tx-app]: https://www.transifex.com/cozy/cozy-store/dashboard/
[tx-cli]: https://developers.transifex.com/docs/cli
[tx-client]: https://github.com/transifex/transifex-client
[libera]: https://web.libera.chat/#cozycloud
[forum]: https://forum.cozy.io/
[github]: https://github.com/cozy/
Expand Down

0 comments on commit bc75c84

Please sign in to comment.