Jeremy Newman : update README for new translation instructions and requirements
Jeremy Newman
jnewman at wine.codeweavers.com
Tue Jan 19 12:45:30 CST 2016
Module: website
Branch: master
Commit: 095c1f0055ea48b604b16758e6a53991f50aa1b7
URL: http://source.winehq.org/git/website.git/?a=commit;h=095c1f0055ea48b604b16758e6a53991f50aa1b7
Author: Jeremy Newman <jnewman at codeweavers.com>
Date: Tue Jan 19 11:40:48 2016 -0600
update README for new translation instructions and requirements
---
README | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/README b/README
index 6cb89bb..6e8761f 100644
--- a/README
+++ b/README
@@ -1,12 +1,12 @@
WineHQ (lostwages) Website Template Engine
-ver 3.0
+ver 4.0
by Jeremy Newman <jnewman at codeweavers.com>
-----------------------------------------------------------------------
Installation Requirements:
* Apache 2.0 or higher
* mod_rewrite enabled in Apache config
- * PHP 5.3 or higher
+ * PHP 5.4 or higher
Setting Up:
-----------------------------------------------------------------------
@@ -38,6 +38,16 @@ The following varables can be used in templates.
You can also add global vars to include/globals.conf and they will be availbe as
{$config_[key]} where [key] is the name you defined in globals.conf
+Translating:
+-----------------------------------------------------------------------
+1. Edit include/winehq.conf and add your language code to @languages.
+2. Create language subdir in templates.
+4. Add your language strings to templates/en/global/xml/trans/lang.xml
+5. Copy and edit path templates/en/global/xml/trans/global.xml to your
+ langs subdir.
+6. Copy individual templates/en/*.template to your langs subdir as you
+ translate them. Only copy the files you plan on translating.
+7. News item translations are in news/<lang>.
Notes:
-----------------------------------------------------------------------
More information about the wine-cvs
mailing list