-
Notifications
You must be signed in to change notification settings - Fork 6
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
Command line flags for translations #15
Comments
Thanks for reporting, I'll add a way to support this. |
I've been giving this some thought. Adding translation support to --comment=en:'Real-time synthesizer' --comment=fr:'Synthétiseur temps-réel' --comment=nb:'Sanntids-synthesizer' [etc.] But when adding translations for many languages, this will easily become an unreasonably long An alternative is to use the setconf -a zynaddsubfx.desktop 'Comment[fr]' 'Synthétiseur temps-réel' Or just echo, like this: echo 'Comment[fr]=Synthétiseur temps-réel' >> zynaddsubfx.desktop Using What do you think? |
Thinking some more about this, keeping data in a declarative format is better than using commands that do the same. Keeping translations in a file also makes it easier to keep track of changes if it's checked into a git repository. I'll add support for reading translations from a |
I use gendesk for creating .desktop files in a PKGBUILd in AUR (example,) so I doesen't need any extra file. I know it's possible to add extra files in AUR. I would prefer to do translations just with arguments. In the most cases there are only a few languages, so the command isn't too long. Maybe it's the best to support translation from commandline and from a file. |
What if there was a It would be in line with the idea of Gendesk idea of generating a good starting point for a |
I would prefer to do this in gendesk, because it's in the repositories of most distributions. |
I see. Would a translation of just the package description usually be enough? |
Description and Comment would be enough for me, but I can't speak for other people which may have the same problem. |
.desktop files can have translated comments and names e.g. comment[de]=Comment. Would be nice, if gendesk supports this.
The text was updated successfully, but these errors were encountered: