When new components are added, they are often created with zero strings and no Polish component. After clicking + for Polish, the English and Polish components are created correctly. The problem has been occurring for several months, I can't pinpoint when it started.
[X] I've searched for similar filed issues in this repository.
Steps to reproduce the behavior
From the very beginning of using weblate, I have been using components in the pootle format.
Creating new components looks like this:
1) The script generates new .pot template files. This is what the file formatting looks like:
#. extracted from /home/weblate/csv/7949764.csv
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-11-26 12:24+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Translate Toolkit 2.5.0\n"
#: 267200725-0-27
msgctxt "267200725-0-27"
msgid "Tamriel"
msgstr ""
#: 267200725-0-1587
msgctxt "267200725-0-1587"
msgid "Dov-Vahl Shrine"
msgstr ""
#: 8290981-0-121099
msgctxt "8290981-0-121099"
msgid "Votary Nahlia^F"
msgstr ""
#: 55049764-0-16202
msgctxt "55049764-0-16202"
msgid "It feels like we're close. Whatever Ulfsild hid here will hopefully give you the answers we need.\n\nStay safe and keep an eye out for focal points. If the orcs haven't found it yet, it's likely because it's hidden behind her magics."
msgstr ""
2) the .po file is a veritable copy of the .pot file and is located in a subfolder called: "pl"
3) This is what the component detection add-on looks like:
4) Next addon:
5) The new component is added to the github repository and weblate automatically starts updating.
6) After approximately 1 - 1.5 hours the updates ends. Some of the newly added components have a valid component in English and Polish (Polish is the only additional language).
Unfortunately, some components in the English source file have 0 strings and the Polish language has not been created. Then just click + next to Polish. After the operation is completed, the English component has all strings and the Polish component is also valid. When finished, Weblate displays the message: "Component exists".
Describe the issue
When new components are added, they are often created with zero strings and no Polish component. After clicking + for Polish, the English and Polish components are created correctly. The problem has been occurring for several months, I can't pinpoint when it started.
I already tried
Steps to reproduce the behavior
From the very beginning of using weblate, I have been using components in the pootle format. Creating new components looks like this: 1) The script generates new .pot template files. This is what the file formatting looks like:
2) the .po file is a veritable copy of the .pot file and is located in a subfolder called: "pl" 3) This is what the component detection add-on looks like:
4) Next addon:
5) The new component is added to the github repository and weblate automatically starts updating.
6) After approximately 1 - 1.5 hours the updates ends. Some of the newly added components have a valid component in English and Polish (Polish is the only additional language).
Unfortunately, some components in the English source file have 0 strings and the Polish language has not been created. Then just click + next to Polish. After the operation is completed, the English component has all strings and the Polish component is also valid. When finished, Weblate displays the message: "Component exists".
Expected behavior
No response
Screenshots
No response
Exception traceback
No response
How do you run Weblate?
Docker container
Weblate versions
5.5-dev — 51cc36b3ff9f6dd826596d168325ec5114db6256 -- 5.5-dev — [51cc36b3ff9f6dd826596d168325ec5114db6256](https://github.com/WeblateOrg/weblate/commits/51cc36b3ff9f6dd826596d168325ec5114db6256) ### Weblate deploy checks _No response_ ### Additional context _No response_