-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
issue with i18n.merge_file #1565
Comments
In order for gettext to know what items to translate in an XML file it needs an its file to figure that out. intltool was a custom tool on top of gettext that did this in another method (prefixing with _). So the solution to this is writing an its file, they are very simple and you can see existing ones in |
Thanks for the reply. I cannot get it to work though. I copied the polkit.its and polkit.loc files from https://cgit.freedesktop.org/polkit/commit/?id=c78819245ff8a270f97c9f800773e727918be838 and installed them into /usr/share/gettext/its. This seems to have no effect — I get the same failure as before. The command that is being run is:
I tried changing I tried also adding |
That might be something overlooked but
Hmm, I'm not sure what the problem is there. |
Ha, so I had the wrong dir: So this almost works, but I think in current state it's not usable for us, because:
|
For now you can make a custom
Yes you should port that to use upstream gettext also. |
For parity with gettext() Fixes #1565
For parity with gettext() Fixes #1565
Thanks, I converted systemd to use |
I have the following rule:
This fails like this:
I have no idea what "ITS rules" are ;(
Doing it "manually" works:
I saw similar message in #1441 (comment), it might be related...
The text was updated successfully, but these errors were encountered: