summaryrefslogtreecommitdiff
path: root/doc/bugs/search_for_locale_data_in_the_installed_location.mdwn
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2007-11-05 19:33:56 -0500
committerJoey Hess <joey@kodama.kitenet.net>2007-11-05 19:33:56 -0500
commitc1e4bed9d6c57c6c8fd08712ba20f303980b1e69 (patch)
tree01c96352549d8338f358f4fbda2b694c3c1e434e /doc/bugs/search_for_locale_data_in_the_installed_location.mdwn
parent1c9946ff484f46cdbd3fd2c9dababbbb2a95ed63 (diff)
parent7fad6c0cfb9e33e0f0456aeeb490ebde300001b4 (diff)
Merge branch 'master' of ssh://git.kitenet.net/srv/git/ikiwiki.info
Diffstat (limited to 'doc/bugs/search_for_locale_data_in_the_installed_location.mdwn')
-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