Example:
http://openfontlibrary.org with a user navigating in german (de) and english
is default language

[root]=http://openfontlibrary.org
[route]=http://openfontlibrary.org/de

links (in widgets):
* style file:
[root]/style.php works!!
[route]/style.php doesn't work:
http://openfontlibrary.org/de/style.phpdoesn't exist

* a option: for example font/crimson
[root]/font/crimson = http://openfontlibrary.org/font/crimson. Works..but
now user see page in english...
[route]/font/crimtson= http://openfontlibrary.org/de/font/crimson. Works,
see page IN GERMAN. [route] stores user language.


In previous aiki there are not difference between path to physical files or
aiki routes (in http://openfontlibrary.org: ./fonts ./guidebook
./search,...)
Now, some information must added in aiki routes.

You can use also
[root]/[language]/font/crimson...but what will happen if you start you site
without language (using only [root]) and one day, you decide
add a second language: if you have used [root] you must correct all widgets.
Using [route] you don't need that.

future!!
In few week i want add multi-site to aiki using the same tip:
www.myshop.com : my site
www.myshop.com/resellers : a different site only for my resellers.
www.myshop.com/resellers/es :different site only for resellers in spanish
www.myshop.com/france  my shop not only translate to french: taxes,
shipments and products adapted to french market.
_______________________________________________
Mailing list: https://launchpad.net/~aikiframework-devel
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~aikiframework-devel
More help   : https://help.launchpad.net/ListHelp

Reply via email to