diff options
Diffstat (limited to 'contribute/contribute.php')
-rw-r--r-- | contribute/contribute.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/contribute/contribute.php b/contribute/contribute.php new file mode 100644 index 000000000..e564bc6e1 --- /dev/null +++ b/contribute/contribute.php @@ -0,0 +1,12 @@ +<?php + +$locale = explode('/', $_SERVER['REQUEST_URI']); +$locale = $locale[1]; + +include 'contribute_locales.php'; +if (!array_key_exists($locale, $_t)) { + $locale = 'en'; +} + +$_t = $_t[$locale]; +?> |