aboutsummaryrefslogtreecommitdiffstats
path: root/include/language.php
diff options
context:
space:
mode:
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