summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2016-06-07 15:05:21 +0200
committeremkael <emkael@tlen.pl>2016-06-07 15:05:21 +0200
commit2cc16a19abfac4135b33e2df268a6a80da42b596 (patch)
treec62010a090741843f5b8e8a20dbff40497d2412c /app
parentcf228713b845a93527e4ae934c89a984325b39e0 (diff)
* i18n config
Diffstat (limited to 'app')
-rw-r--r--app/php/application.xml2
-rw-r--r--app/php/i18n/config.xml14
2 files changed, 16 insertions, 0 deletions
diff --git a/app/php/application.xml b/app/php/application.xml
index ec23f55..6937e53 100644
--- a/app/php/application.xml
+++ b/app/php/application.xml
@@ -11,6 +11,8 @@
<include file="Application.url.config" />
+ <include file="Application.i18n.config" />
+
<include file="Application.web.config" />
<include file="Application.pages.config" />
<include file="Application.controls.config" />
diff --git a/app/php/i18n/config.xml b/app/php/i18n/config.xml
new file mode 100644
index 0000000..c80b46d
--- /dev/null
+++ b/app/php/i18n/config.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8"?>
+<configuration>
+ <paths>
+ <using namespace="System.I18N.*" />
+ </paths>
+ <modules>
+ <module id="globalization" class="System.I18N.TGlobalization">
+ <translation type="gettext"
+ source="Application.i18n"
+ autosave="true"
+ cache="true" />
+ </module>
+ </modules>
+</configuration>