WeblateOrg / weblate

Web based localization tool with tight version control integration.
https://weblate.org/
GNU General Public License v3.0
4.63k stars 1.02k forks source link

YAML import not working correctly for source language #3856

Closed ZoomImpulse closed 4 years ago

ZoomImpulse commented 4 years ago

Describe the bug When importing multiple YAML files located in a ZIP the source language imports the context as the translation.

To Reproduce Steps to reproduce the behavior:

  1. Add a new translation component
  2. Click on Upload translation files
  3. Select and upload a ZIP containing YAML files.
  4. Check the source language
  5. See context strings where language strings should be located.

Expected behavior The context and language strings should be in their respective columns.

Server configuration and status

nijel commented 4 years ago

You probably imported bilingual files as monolingual, but that's hard to guess without more information. See https://docs.weblate.org/en/latest/formats.html#bilingual-and-monolingual-formats

ZoomImpulse commented 4 years ago

Thanks for the hint, I didn't put in the name of the base language file.

github-actions[bot] commented 4 years ago

The issue you have reported seems to be resolved now.