david-swift / Memorize

Study flashcards in a native GNOME app
https://flathub.org/apps/io.github.david_swift.Flashcards
GNU General Public License v3.0
79 stars 9 forks source link

Making the metainfo file translatable #28

Open bragefuglseth opened 4 months ago

bragefuglseth commented 4 months ago

Apps usually have translatable metainfo files. I'm not quite sure how this would work with the Localized.yml file, but it's something that happens at built time, at least.

david-swift commented 4 months ago

I translated into German using the following syntax:

<p xml:lang="de">

So this should not be a problem?

bragefuglseth commented 4 months ago

It’s possible, but it won’t be easy to maintain as the file gains more translations, receives string changes, etc.