-
-
Notifications
You must be signed in to change notification settings - Fork 959
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
duplicated languages for Brazilian Portugal #8427
Comments
This issue looks more like a support question than an issue. We strive to answer these reasonably fast, but purchasing the support subscription is not only more responsible and faster for your business but also makes Weblate stronger. In case your question is already answered, making a donation is the right way to say thank you! |
Built-in Weblate definitions for languages are here: https://github.com/WeblateOrg/language-data/blob/main/languages.csv#L450 As you can see, it has |
I still don't know why language with code pt_BR was created as "Portuguese" when we already have language with code pt and name "Portuguese" and language with code pt-br and name "Portuguese (Brazil)". |
To merge these, you can move all content from one to other using |
Thank you for the explanation. |
This issue has been automatically marked as stale because there wasn’t any recent activity. It will be closed soon if no further action occurs. Thank you for your contributions! |
Describe the issue
Hi,
when a new language for Brazilian Portugese was created on Weblate on an Android component, it was created as just "Portugese" with code pt_BR (and the Gitlab file is ../values-pt-rbr/strings.xml)
We already have another Portugese language in the same component, so finally we have two languages identified as "Portugese", one with code pt and second one with code pt_BR.
In another non-Android component, the Brazil language was created correctly as "Portugese (Brazil)(pt-br)" with code pt-br. (and the gitlab file is ../translations/pt-BR.json).
So in the whole project, we have among languages:
Is it correct? Do you know why don't we have just one language for Portugese and one language for Brazilian Portugese? Can we use Portugese (Brazil)(pt-br) language on Android component too? A current status is a bit confusing.
Thank you
Best Regards
Jan
I already tried
Steps to reproduce the behavior
Expected behavior
No response
Screenshots
No response
Exception traceback
No response
How do you run Weblate?
Git checkout
Weblate versions
Weblate: weblate-4.5
Django: 3.1.7
siphashc: 2.1
translate-toolkit: 3.3.2
lxml: 4.6.2
Pillow: 8.1.0
bleach: 3.3.0
python-dateutil: 2.8.1
social-auth-core: 4.0.3
social-auth-app-django: 4.0.0
django-crispy-forms: 1.11.1
oauthlib: 3.1.0
django-compressor: 2.4
djangorestframework: 3.12.2
django-filter: 2.4.0
django-appconf: 1.0.4
user-agents: 2.2.0
filelock: 3.0.12
setuptools: 53.0.0
jellyfish: 0.8.2
openpyxl: 3.0.6
celery: 5.0.5
kombu: 5.0.2
translation-finder: 2.9
weblate-language-data: 2021.3
html2text: 2020.1.16
pycairo: 1.20.0
pygobject: 3.38.0
diff-match-patch: 20200713
requests: 2.25.1
django-redis: 4.12.1
hiredis: 1.1.0
sentry_sdk: 0.20.3
Cython: 0.29.22
misaka: 2.1.1
GitPython: 3.1.13
borgbackup: 1.1.15
pyparsing: 2.4.7
Python: 3.6.9
Git: 2.17.1
psycopg2: 2.7.4
phply: 1.2.5
chardet: 3.0.4
ruamel.yaml: 0.16.12
tesserocr: 2.4.0
akismet: 1.0.1
boto3: 1.16.39
zeep: 3.4.0
aeidon: 1.2.1
Mercurial: 4.5.3
git-review: 1.28.0
Redis server: 4.0.9
PostgreSQL server: 9.5.13
Database backends: django.db.backends.postgresql
Cache backends: default:RedisCache, avatar:FileBasedCache
Email setup: django.core.mail.backends.smtp.EmailBackend: smtpinternal.myq.cz
OS encoding: filesystem=utf-8, default=utf-8
Celery: redis://localhost:6379, redis://localhost:6379, regular
Platform: Linux 4.15.0-191-generic (x86_64)
Weblate deploy checks
Additional context
No response
The text was updated successfully, but these errors were encountered: