WeblateOrg / WeblateOrg/weblate

New subtitle file translation is prepopulated with source language

Open
#4,769 0 comments 0 reactions 0 assignees View on GitHub
Waiting for: Demand
Dominant language
Python
Stars
6.1k
Forks
1.4k
Avg merge
9h 53m
Merged PRs (30d)
395

Description

**Describe the bug**

Creating a new translation of a .ass subtitle file copies all source strings instead of starting blank.

This is possibly because 'Monolingual base language file' is required to be set for subtitle files?

**To Reproduce the bug**

1. Set up a .ass subtitle translation component
2. Create a new translation
3. Note that the new translation's strings are filled with duplicates of the original (fortunately are flagged as warning)

**Screenshots**

![image](https://user-images.githubusercontent.com/4694583/97387875-1450d400-1894-11eb-8ab3-a7f9ded2f41e.png)

![image](https://user-images.githubusercontent.com/4694583/97388054-845f5a00-1894-11eb-94aa-27a8d8692d90.png)

**Additional Info**

Also, just a note this does not appear to be a sub2po issue, as when sub2po is run standalone, it does not prepopulate msgstr:

```
#. visible for 3 seconds
#: 00:00:23.250--%3E00:00:26.940
msgid "If you pull this off, they're willing to let you come back."
msgstr ""
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.