Repository: WeblateOrg/weblate

Issue:
Confusing naming of converted downloads
![image](https://user-images.githubusercontent.com/39633242/109129875-6544dc00-7751-11eb-942a-e8cdbd8c363c.png)
![image](https://user-images.githubusercontent.com/39633242/109129939-78f04280-7751-11eb-80ce-03de80ec655a.png)
This can cause a problem when importing.


Discussion:
Problem with source
The issue you have reported is resolved now. If you don’t feel it’s right, please follow it’s labels to get a clue and take further steps.

* In case you see a similar problem, please open a separate issue.
* If you are happy with the outcome, don’t hesitate to support Weblate by making a [donation](https://weblate.org/donate/).
![image](https://user-images.githubusercontent.com/39633242/109141120-aa6f0b00-775d-11eb-9df7-9ca2789fed45.png)
I have created a new component marked as a glossary. I used the file from the screen. The explanation is displayed as a comment.
There are two ways of getting files from Weblate:

* The original file as is stored in the repository. This follows as closely as possible original format and does not include any additional metadata. This is the first option in the download menu.
* Converted files for offline usage. These attempt to fit as much information as possible into the file for offline usage. Often this leads to putting content into developer comments as most formats do not support anything like suggestions or different source of comments. These are all the other options in the download menu.

![obrazek](https://user-images.githubusercontent.com/212189/109149005-49e4cb80-7767-11eb-94dd-24fc14a75bb7.png)

When you download the files using the second method and use it in Weblate the different behavior is expected.

What we really need is to set correctly expectations on the converted downloads.

@orangesunny Please can you take a look at this? This is a similar issue to what YouGov has hit...
If comments and explanations are exported, the import should take them into account.
Nearly all things from Weblate are included in the comments and there was no intention to make it machine readable, so in the current form the import is not possible. (I think there is some issue on this)
After moving from Smartcat to weblate, I have 5 glossaries. They all have 150,000 strings and over 20,000 comments. I would like to import comments as "explanations". Showing explanations in the glossary is really great. Unfortunately at the moment I have to do it manually, so translators use google sheet to find "explanations"
I think this is a big problem for users migrating to Weblate from other translation platforms.
Edit:
I checked that none of the formats available in weblate does not support the explanations. After restoring a backup "Borg" explanation will be restored?
The explanation is stored in the Weblate database only, I've just explained this in https://github.com/WeblateOrg/weblate/issues/5517#issuecomment-788729502
Let's deal with clarification of the download naming here and cover the glossary explanations in #5519. 

Resolving patch:
diff --git a/weblate/formats/exporters.py b/weblate/formats/exporters.py
--- a/weblate/formats/exporters.py
+++ b/weblate/formats/exporters.py
@@ -393,7 +393,7 @@ class XlsxExporter(CVSBaseExporter):
     name = "xlsx"
     content_type = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
     extension = "xlsx"
-    verbose = _("Excel Open XML")
+    verbose = _("XLSX")
 
     def serialize(self):
         """Return storage content."""
diff --git a/weblate/formats/ttkit.py b/weblate/formats/ttkit.py
--- a/weblate/formats/ttkit.py
+++ b/weblate/formats/ttkit.py
@@ -1081,7 +1081,7 @@ def create_unit(
 
 
 class PoXliffFormat(XliffFormat):
-    name = _("XLIFF translation file with PO extensions")
+    name = _("XLIFF with gettext extensions")
     format_id = "poxliff"
     autoload = ("*.poxliff",)
     loader = PoXliffFile
diff --git a/weblate/trans/forms.py b/weblate/trans/forms.py
--- a/weblate/trans/forms.py
+++ b/weblate/trans/forms.py
@@ -587,7 +587,7 @@ def __init__(self, *args, **kwargs):
         self.helper.form_tag = False
         self.helper.layout = Layout(
             SearchField("q"),
-            Field("format"),
+            InlineRadios("format"),
         )
 
 


Test patch: