X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/17fdb8028bfb2722c120b229c2131598affbddd6..b386fd2185d2444b5dea4133646ec73e9867edb3:/doc/bugs/ikiwiki_is_not_truly_localizable.mdwn?ds=inline diff --git a/doc/bugs/ikiwiki_is_not_truly_localizable.mdwn b/doc/bugs/ikiwiki_is_not_truly_localizable.mdwn index 11bf1cab5..a1b38257a 100644 --- a/doc/bugs/ikiwiki_is_not_truly_localizable.mdwn +++ b/doc/bugs/ikiwiki_is_not_truly_localizable.mdwn @@ -14,6 +14,15 @@ should be written as > seem to require converting from the translations back into the C locale > when the form is posted. --[[Joey]] +>> Wouldn't it be more easy to change all calls to the corrects ones (including in plugins) ? +>> For instance in the same file (CGI.pm): `elsif ($form->submitted eq gettext("Save Page")) {`. +>> That way no conversion to the C locale is needed. +>> gettext use should just be publicized in documentation (at least in [[plugins/write]]). --[[bbb]] + +>>> It would be easy, but it could break third-party plugins that hardcode +>>> the english strings. It's also probably less efficient to run gettext +>>> over and over. --[[Joey]] + In standards templates things seems wrongly written too. For instance in page.tmpl line like: `