-
-
Notifications
You must be signed in to change notification settings - Fork 269
Activate Transifex on all projects #194
Comments
Hi, I see that the option "Fill up resources from TM" is not marked when a project is automatically created. I think this option is very useful to auto-complete 100% match strings that are in another projects. |
I also see that a new team is created for the recently created project. I see better to stick to current team "OCA translators" (41537) instead of creating new one. In this team, you can assign for each language individual permission, so it's good enough I think. |
Interesting... Maybe those options can be added to the creation dict https://github.com/OCA/maintainer-quality-tools/blob/master/travis/travis_transifex.py#L92
Done in #195 |
Is TM a good idea? Automatic translation can get really bad translations in that stay for a while. |
translation_status = """Translation Status
------------------
[![Transifex Status](https://www.transifex.com/projects/p/%(ORG_NAME)s-%(REPO_NAME)s-%(BRANCH_NAME_WITH_DASH)s/chart/image_png)](https://www.transifex.com/projects/p/%(ORG_NAME)s-%(REPO_NAME)s-%(BRANCH_NAME_WITH_DASH)s)"""
env_section = """env:
global:
- VERSION="%(BRANCH_NAME)s" TESTS="0" LINT_CHECK="0" TRANSIFEX="0"
- TRANSIFEX_USER='transbot@odoo-community.org'
- secure: "%(TRANSIFEX_SECURE)s"
matrix:
- LINT_CHECK="1"
- TRANSIFEX="1"
- TESTS="1" ODOO_REPO="odoo/odoo"
- TESTS="1" ODOO_REPO="OCA/OCB
"""
def get_transifex_badge(repo_name, org="OCA", version="8.0"):
return translation_status % {
"ORG_NAME": org,
"REPO_NAME": repo_name,
"BRANCH_NAME_WITH_DASH": version.replace(".", "-")
}
def get_env_section(repo_name, org="OCA", version="8.0"):
return env_section % {
"BRANCH_NAME": version,
"TRANSIFEX_SECURE": repo_secures["%s/%s" % (org, repo_name)],
} |
Travis configuration for transifex. Following the template in https://github.com/OCA/maintainer-quality-tools/blob/master/sample_files/.travis.yml and cathing the secure from OCA/maintainer-quality-tools#194 Thanks @pedrobaeza
* Update .travis.yml Travis configuration for transifex. Following the template in https://github.com/OCA/maintainer-quality-tools/blob/master/sample_files/.travis.yml and cathing the secure from OCA/maintainer-quality-tools#194 Thanks @pedrobaeza
Missing Operating Unit here https://github.com/OCA/operating-unit |
@bwrsandman @pedrobaeza how do we generate a new key for OCA/operating-unit? |
@bwrsandman @pedrobaeza same issue at OCA/website-cms#7 as @jbeficent :) |
Are we keeping Transifex? |
Reasons: * no project on transifex for this repo * tests are failing because of this (see OCA#7) * we don't know if we are going to keep transifex for OCA at all See https://odoo-community.org/groups/contributors-15/contributors-50809?mode=date&date_begin=&date_end= and OCA/maintainer-quality-tools#194 (comment)
Could you please help to get a transifex secure key for l10n-vietnam repo? thanks |
Transifex is going to be replaces in a couple weeks in favor of Weblate, which doesn't require this setup. Can you wait or do you prefer to have already Transifex until we finish the transition? |
We can wait, no problem. I deactivated the travis.yml tests related to trasifex : https://github.com/OCA/l10n-vietnam/blob/10.0/.travis.yml#L25 |
Closing because it is being managed in every repository. |
This is still needed while we don't switch to Transifex. There are still projects that don't activated Transifex. |
@pedrobaeza I got it. Don't you think it is better to manage per project? BTW, who is in charge of this? the problem with eternal issues is that if there is nobody incharge they give the impression of not being attended (which I think is the case here). The person in charge of this can assign himself? |
This has been doing progressively but the task is too heavy for being only one responsible. |
Agree, that's why I think we should simply create an issue per repository and every PSC can do the job. |
Hello, I will be happy to do any job on this repo if I know what I have to do :) |
Do we have to share a short How to of this and what we expect to help @jcdrubay to give a try and make some PR?. @jcdrubay you can see the diff is some of the PR merged and related to this issue that will give you an Idea which is the wor to be done. OCA/l10n-belgium#23 as an example. |
If you have the time to make all of that issues, go ahead. For now, I prefer this general issue as reference. |
@pedrobaeza no problem, I left this open until we face all solved. |
We can close this as we have switched to Weblate. |
To activate a repo for transifex see #186 and https://github.com/OCA/maintainer-quality-tools/blob/master/sample_files/.travis.yml#L19
You need a test with
TRANSIFEX="1"
,TRANSIFEX_USER='transbot@odoo-community.org'
and the secret depending on repoI generated a secret for the transifex password for each repo:
The text was updated successfully, but these errors were encountered: