aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@wren.kitenet.net>2007-11-05 06:33:46 -0500
committerJoey Hess <joey@wren.kitenet.net>2007-11-05 06:33:46 -0500
commit3903d2ebd2357508dac130344dec9e0022d75298 (patch)
treee3bc173016085e72a786f0fd1e5961e2187fd728
parent1810f29433f53a9b14cca2d097e6b16458ca0ed0 (diff)
downloadikiwiki-3903d2ebd2357508dac130344dec9e0022d75298.tar
ikiwiki-3903d2ebd2357508dac130344dec9e0022d75298.tar.gz
web commit by ThomasBleher
-rw-r--r--doc/bugs/search_for_locale_data_in_the_installed_location.mdwn15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/bugs/search_for_locale_data_in_the_installed_location.mdwn b/doc/bugs/search_for_locale_data_in_the_installed_location.mdwn
new file mode 100644
index 000000000..ad379da1a
--- /dev/null
+++ b/doc/bugs/search_for_locale_data_in_the_installed_location.mdwn
@@ -0,0 +1,15 @@
+It seems like gettext only searches for locale information in /usr/share/locale, by default. I installed ikiwiki into /usr/local, therefore the locale information wasn't found. This patch fixes the issue:
+
+ --- a/IkiWiki.pm
+ +++ b/IkiWiki.pm
+ @@ -1057,6 +1057,7 @@ sub gettext { #{{{
+ $gettext_obj=undef;
+ return shift;
+ }
+ + $gettext_obj->dir("$installdir/share/locale/");
+ }
+ return $gettext_obj->get(shift);
+ }
+
+[[tag patch]]
+-- [[ThomasBleher]] \ No newline at end of file