From 4d7ccdc8e5f496c959421377d9dd8097d0e5887e Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 5 Jul 2008 21:44:03 -0400 Subject: [PATCH] web commit by http://www.openidfrance.fr/beaufils --- .../ikiwiki_is_not_truly_localizable.mdwn | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 doc/bugs/ikiwiki_is_not_truly_localizable.mdwn diff --git a/doc/bugs/ikiwiki_is_not_truly_localizable.mdwn b/doc/bugs/ikiwiki_is_not_truly_localizable.mdwn new file mode 100644 index 000000000..edb25d270 --- /dev/null +++ b/doc/bugs/ikiwiki_is_not_truly_localizable.mdwn @@ -0,0 +1,25 @@ +A lot of strings in ikiwiki are hardcoded and not taken for locales resources through gettext. This is bad because ikiwiki is thus difficult to spread for non-english users. + +I mean that, for instance in CGI.pm, line like: + +`my @buttons=("Save Page", "Preview", "Cancel");` + +should be written as + +`my @buttons=(gettext("Save Page"), gettext("Preview"), gettext("Cancel"));` + +In standards templates things seems wrongly written too. For instance in page.tmpl line like: + +`
  • Edit
  • ` + +should be written as + +`
  • ` + +with EDITURL_TEXT variable initialized in Render.pm through a gettext call. + +Am I wrong ? + +If not I can spend some time preparing patch for such correction if it can help. + +--[[Bruno]]