New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
description language support in dump broken #246
Comments
|
Indeed! The output is not correct (it will probably still work okay though) |
|
Might be related to #116? |
|
Maybe... I'll have a look later. This has a unit test though, so I do think the problem is a bit more subtle. |
|
The code will now try to replicate a "real" metainfo file from the stuff that is represented in memory. This works very well for complete translations, and not very well for incomplete translations. In the latter case libappstream simply has not enough information available to replicate the original metainfo input though, so getting an "almost good" result is the best we can do. |
e.g.
As far as I understand the spec this should be interleaved. The english
<p>should be followed by its translated<p xml:lang="fr">, then the next english followed by its translation so on and so forth. But the way it is out put is all<p>followed by all<p xml:lang="fr">.The text was updated successfully, but these errors were encountered: