oboha55 / fahad

1 stars 0 forks source link

### Describe the issue #11

Open oboha55 opened 1 year ago

oboha55 commented 1 year ago

Describe the issue

I'm trying to create component with VCS base on existed repo with .po files. But after some delay weblate shows this message.

This component is incomplete as there are no translations available. (translated from russian)

- It is possible to create new translations, especially in Weblate, and charge files based on the file mask.
- Whether the file mask of products/*.po files occurs in the repositories of your version control system.

Original message:

Этот компонент является неполным, так как отсутствуют какие-либо переводы.

- Возможно создание новых переводов, особенно в Weblate, и при этом обвинения файлов на основе маски файла.
- Встречается ли форма файла products/*.po файлов в репозиториях вашей системы контроля версий.

I'm trying to import two languages with 850k phrases each with ~60Mb file size.

Repo structure:

products
- ru.po
- kk.po
categories
- ru.po
- kk.po
properties
- ru.po
- kk.po

Other components (categpries, properties) imported well. But they don't have such big size.

Q: What can I do for bypass this problem?

I already tried

Steps to reproduce the behavior

  1. Need to have big .po file with ~850k phrases
  2. Upload this file to VCS
  3. Try to create component from repo where file localed

Expected behavior

All phrases are imported

Screenshots

No response

Exception traceback

No response

How do you run Weblate?

PyPI module

Weblate versions

$ weblate list_versions
 * Weblate: 4.16.4
 * Django: 4.1.8
 * siphashc: 2.1
 * translate-toolkit: 3.8.6
 * lxml: 4.9.2
 * Pillow: 9.5.0
 * nh3: 0.2.9
 * python-dateutil: 2.8.2
 * social-auth-core: 4.4.1
 * social-auth-app-django: 5.2.0
 * django-crispy-forms: 2.0
 * oauthlib: 3.2.2
 * django-compressor: 4.3.1
 * djangorestframework: 3.14.0
 * django-filter: 22.1
 * django-appconf: 1.0.5
 * user-agents: 2.2.0
 * filelock: 3.10.7
 * rapidfuzz: 2.15.0
 * openpyxl: 3.1.2
 * celery: 5.2.7
 * django-celery-beat: 2.5.0
 * kombu: 5.2.4
 * translation-finder: 2.15
 * weblate-language-data: 2023.3
 * html2text: 2020.1.16
 * pycairo: 1.23.0
 * pygobject: 3.44.1
 * diff-match-patch: 20200713
 * requests: 2.28.2
 * django-redis: 5.2.0
 * hiredis: 2.2.2
 * sentry_sdk: 1.19.1
 * Cython: 0.29.34
 * misaka: 2.1.1
 * GitPython: 3.1.31
 * borgbackup: 1.2.4
 * pyparsing: 3.0.9
 * pyahocorasick: 2.0.0
 * python-redis-lock: 4.0.0
 * charset-normalizer: 3.1.0
 * Python: 3.11.2
 * Git: 2.39.1
 * psycopg2-binary: 2.9.6
 * phply: 1.2.6
 * ruamel.yaml: 0.17.21
 * tesserocr: 2.6.0
 * boto3: 1.26.109
 * zeep: 4.2.1
 * aeidon: 1.12
 * iniparse: 0.5
 * Mercurial: 6.4
 * git-svn: 2.39.1
 * git-review: 2.3.1
 * Redis server: 5.0.3
 * PostgreSQL server: 14.4
 * Database backends: django.db.backends.postgresql
 * Cache backends: default:RedisCache, avatar:FileBasedCache
 * Email setup: django.core.mail.backends.smtp.EmailBackend: <mail>
 * OS encoding: filesystem=utf-8, default=utf-8
 * Celery: redis://127.0.0.1:6379, redis://127.0.0.1:6379, regular
 * Platform: Linux 4.18.0-408.el8.x86_64 (x86_64)

Weblate deploy checks

No response

Additional context

No response

Originally posted by @infureal in https://github.com/WeblateOrg/weblate/issues/9318