[Bug 980329] New: gettext tools do not support Ruby
http://bugzilla.suse.com/show_bug.cgi?id=980329 Bug ID: 980329 Summary: gettext tools do not support Ruby Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 Assignee: yast2-maintainers@suse.de Reporter: ke@suse.com QA Contact: jsrain@suse.com Blocks: 979781 Found By: --- Blocker: --- +++ This bug was initially created as a clone of Bug #979781 +++ The German translation of module yast2-journal contains an error: msgid "Between %{since} and %{until}" msgstr "Zwischen %{seit} und %{bis}" "since" and "until" should not be translated. See this code: ... =================================================================== We see this kind of bugs again and again. In the past, YCC was properly supported in gettext. We need this for Ruby as well. Please, take the time to report appropriate info to the gettext maintainers (or better, provide a patch). In the meantime, which tools can I use as a workaround? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=980329
http://bugzilla.suse.com/show_bug.cgi?id=980329#c1
Josef Reidinger
http://bugzilla.suse.com/show_bug.cgi?id=980329
http://bugzilla.suse.com/show_bug.cgi?id=980329#c2
Martin Vidner
http://bugzilla.suse.com/show_bug.cgi?id=980329
http://bugzilla.suse.com/show_bug.cgi?id=980329#c3
--- Comment #3 from Josef Reidinger
msgfmt should be able to check this, at least in theory:
http://linux.die.net/man/1/msgfmt --check-format check language dependent format strings
It should check that the format strings are not changed(=broken by translation), just permuted.
maybe this bug is about missing ruby support in msgfmt? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=980329
http://bugzilla.suse.com/show_bug.cgi?id=980329#c4
--- Comment #4 from Martin Vidner
http://bugzilla.suse.com/show_bug.cgi?id=980329
http://bugzilla.suse.com/show_bug.cgi?id=980329#c5
Ladislav Slezák
http://bugzilla.suse.com/show_bug.cgi?id=980329
http://bugzilla.suse.com/show_bug.cgi?id=980329#c6
--- Comment #6 from Martin Vidner
http://bugzilla.suse.com/show_bug.cgi?id=980329
http://bugzilla.suse.com/show_bug.cgi?id=980329#c7
--- Comment #7 from Karl Eichwalder
See also https://bugzilla.suse.com/show_bug.cgi?id=954505 "yast ruby msg extractor (xgettext) does not support format marker"
Thanks for the reminder! I'd vote to report it upstream. I'd have reported it upstream, if I'd be familiar with Rudy. In the past, the gettext maintainers (Bruno) wanted to know the specifics about the format specifiers and then implemented it (ycp). I guess Ruby is rather complex, but why not trying? It's rather important to us ((open)SUSE). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=980329
Ladislav Slezák
http://bugzilla.suse.com/show_bug.cgi?id=980329
Ladislav Slezák
http://bugzilla.suse.com/show_bug.cgi?id=980329
Karl Eichwalder
http://bugzilla.suse.com/show_bug.cgi?id=980329
Karl Eichwalder
http://bugzilla.suse.com/show_bug.cgi?id=980329
http://bugzilla.suse.com/show_bug.cgi?id=980329#c9
Luiz Fernando Ranghetti
http://bugzilla.suse.com/show_bug.cgi?id=980329
Karl Eichwalder
http://bugzilla.suse.com/show_bug.cgi?id=980329
http://bugzilla.suse.com/show_bug.cgi?id=980329#c10
Ladislav Slezák
http://bugzilla.suse.com/show_bug.cgi?id=980329
Karl Eichwalder
http://bugzilla.suse.com/show_bug.cgi?id=980329
http://bugzilla.suse.com/show_bug.cgi?id=980329#c12
Stefan Hundhammer
http://bugzilla.suse.com/show_bug.cgi?id=980329
Stefan Hundhammer
http://bugzilla.suse.com/show_bug.cgi?id=980329
http://bugzilla.suse.com/show_bug.cgi?id=980329#c13
--- Comment #13 from Luiz Fernando Ranghetti
http://bugzilla.suse.com/show_bug.cgi?id=980329
http://bugzilla.suse.com/show_bug.cgi?id=980329#c14
--- Comment #14 from Stefan Hundhammer
http://bugzilla.suse.com/show_bug.cgi?id=980329
http://bugzilla.suse.com/show_bug.cgi?id=980329#c15
--- Comment #15 from Stefan Hundhammer
http://bugzilla.suse.com/show_bug.cgi?id=980329
http://bugzilla.suse.com/show_bug.cgi?id=980329#c16
Stefan Hundhammer
https://bugzilla.suse.com/show_bug.cgi?id=980329
https://bugzilla.suse.com/show_bug.cgi?id=980329#c17
--- Comment #17 from Karl Eichwalder
https://bugzilla.suse.com/show_bug.cgi?id=980329
Lukas Ocilka
https://bugzilla.suse.com/show_bug.cgi?id=980329
https://bugzilla.suse.com/show_bug.cgi?id=980329#c19
Stefan Hundhammer
Ok, this is really good news! I'm still uncertain whether we still must update or adjust the tools on the weblate server?
From our side, we are only making use of existing things; those formats have been in gettext for a long time (including ycp-format since the early 2000s). So if they use standard gettext tools from less than 10-15 years ago, it should work out of the box. But it can't hurt to give it a try.
Maybe, I'd better check twice. I'll ask Standa.
Thanks for all your help.
You are welcome! -- You are receiving this mail because: You are on the CC list for the bug.
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com