aboutsummaryrefslogtreecommitdiffstats
path: root/include/language.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-07-22 17:25:26 -0700
committerfriendica <info@friendica.com>2012-07-22 17:25:26 -0700
commit4e4395b00fa8d7b06b11bdbb95da86ae15b1eb71 (patch)
treef547f3fae54e81e0d1ed3dfa3c92531f60f0b175 /include/language.php
parente9fa57966675fcfe5e267ebc21faa52b2cf6d983 (diff)
downloadvolse-hubzilla-4e4395b00fa8d7b06b11bdbb95da86ae15b1eb71.tar.gz
volse-hubzilla-4e4395b00fa8d7b06b11bdbb95da86ae15b1eb71.tar.bz2
volse-hubzilla-4e4395b00fa8d7b06b11bdbb95da86ae15b1eb71.zip
more registration functions plus ability to over-ride individual strings plus upstream merges plus rev update
Diffstat (limited to 'include/language.php')
-rw-r--r--include/language.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/language.php b/include/language.php
index 823fd3c96..dc54fbd2e 100644
--- a/include/language.php
+++ b/include/language.php
@@ -110,6 +110,14 @@ function load_translation_table($lang) {
}
else
$a->strings = array();
+
+ // Allow individual strings to be over-ridden on this site
+ // Either for the default language or for all languages
+
+ if(file_exists("view/local-$lang/strings.php")) {
+ include("view/local-$lang/strings.php");
+ }
+
}}
// translate string if translation exists