X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/c32eaf6b556dc9d8c3fb946fc5ece12112253e9b..a1519df7dd7b3619485171230d1a9f167b8e1fae:/doc/translation/discussion.mdwn?ds=inline diff --git a/doc/translation/discussion.mdwn b/doc/translation/discussion.mdwn index 7d4d93c55..ed034910f 100644 --- a/doc/translation/discussion.mdwn +++ b/doc/translation/discussion.mdwn @@ -1,3 +1,5 @@ +# A few questions about translating PO file + I have a few questions about translating PO file: 1. Assume I copied `ikiwiki.pot` file to `pl.po` file and translated it @@ -50,4 +52,46 @@ think that there should be hardcoded in ikiwiki templates? --Pawel >>> My indentation mistake, I think. --[[Joey]] - >>>> Now it's perfect :) Thank you very much! --Pawel \ No newline at end of file + >>>> Now it's perfect :) Thank you very much! --Pawel + +---- + +# Less laconic gettext messages + +I'm just translating `ikiwiki.pot` file to Polish and I have +problems with some gettext messages, because unfortunately +there are very laconic, for example "update of %s's %s by %s". + +Sometimes I don't understand background well, because I don't use +all ikiwiki plugins and I have to check ikiwiki source code. +Besides in Polish language we have conjugation of a verb and +I can't do it correctly if I don't know what subject of +a message is. Then I have to check the sources again... + +So I have a request to Joey and the rest of ikiwiki coders: +please write more verbose gettext messages and don't fear using +subject there. It will be huge help for me and other ikiwiki +translators. Thank you! :) --Pawel + +> Well, those messages are mostly laconic because they're output by +> ikiwiki running in unix program mode and other tight situations, and +> it should be clear from context when you see the expanded message what +> the various bits are. +> +> For example, "update of foowiki's MooBar by joey" seems to say enough to +> be clear (and fit in mutt's subject line display), while the corresponding +> "actualizado el wiki foowiki y la página MooBar por el usuario joey" feels +> a bit verbose. (And should it say "updated foowiki *and* the MooBar page" +> like that? My Spanish sucks though..) In my crappy Spanish I might instead +> say something like "actualizado MooBar de foowiki por joey". Or maybe +> "actualizado página Moobar por joey"? + +>> But you know that "update of %s's %s by %s" string can be "update of +>> foowiki's MooBar by joey", but I can only guess it :) + +> Anyway, to get back to your point, it's true that translators often +> need additonal context about things like what variables expand to, and +> size limits. This is generally done by adding comments in the pot file, +> and I've turned that on, and added a few. --[[Joey]] + +>> Thank you very much! It also will be a big help for me. --Pawel \ No newline at end of file