]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/bugs/search_for_locale_data_in_the_installed_location.mdwn
(no commit message)
[ikiwiki.git] / doc / bugs / search_for_locale_data_in_the_installed_location.mdwn
index ad379da1acaa9a594abe764a66ea3fb4fe5c3cad..0a2b1efeaca843f788e5be7c1a5031aaf27f36fd 100644 (file)
@@ -11,5 +11,15 @@ It seems like gettext only searches for locale information in /usr/share/locale,
                     return $gettext_obj->get(shift);
             }
 
-[[tag patch]]
--- [[ThomasBleher]]
\ No newline at end of file
+[[!tag patch]]
+-- [[ThomasBleher]]
+
+> According to my testing, this patch makes ikiwiki's localisation fail for
+> `LANG=fr_FR` when everything is installed to the default locations, 
+> though `LANG=es_ES` works. I don't understand this behavior, especially
+> since strace shows it successfully opening the file
+> `/usr/share/locale/fr/LC_MESSAGES/ikiwiki.mo`.
+> 
+> (Also, it should check that $installdir is set before using it.)
+> 
+> --[[Joey]]