Pages: [1]
Author Topic: Localization  (Read 3251 times)
Administrator
Sr. Member
*

Karma: 7
Posts: 486


Email
on: Jun 04, 08, 09:51 AM

As you might know from the "Presales FAQ" topic, Proarcadescript can be translated easily to various languages (I know about sites in French, Hungarian, Finnish, German, Danish and few other), but untill this moment there was no info about the process of translating the script... Hope this post will fix that problem.

There are 3 things you should do to translate the script to your language:

1. Translate each html template in the "/templates/Toys" folder (if your site's theme is "Toys") Just don't touch the macros (they look like this: !MACRO!) and comment lines that look like this: <!-- BEGIN/END DYNAMIC BLOCK:

2. translate the "/includes/language.php" file (its structure is very simple, so I will not describe the process here)

3. And finally, make your theme and RSS feed compatible with your language: find the file "rss.tpl" inside templates folder and correct the first line:
it must be
Code:
<?xml version="1.0" encoding="utf-8" ?>

and make a similar change in the block_head.html:
Code:
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
You can assign another value for encoding and charset - depends on your language.

That's it.
« Last Edit: Apr 17, 10, 11:06 AM by Sergey » Logged
Pages: [1]
 
Jump to: