1 |
85ad3d82
|
Assos Assos
|
|
2 |
|
|
README.txt
|
3 |
|
|
==========
|
4 |
|
|
Drupal module: Path translation
|
5 |
|
|
==================================
|
6 |
|
|
|
7 |
|
|
This module provides some basic path translation feature for generic paths.
|
8 |
|
|
|
9 |
|
|
For paths belonging to objects that have translations, like nodes and taxonomy terms, the system can produce automatic
|
10 |
|
|
links for the language switcher.
|
11 |
|
|
|
12 |
|
|
For the rest of paths, this module allows to define which path is translation of which. Example:
|
13 |
|
|
|
14 |
|
|
1. We define a new 'path translation set' like
|
15 |
|
|
- English: node/1
|
16 |
|
|
- Spanish: taxonomy/term/3
|
17 |
|
|
|
18 |
|
|
2. Every time we are on any of these pages, the language switcher will point to the other path for each language.
|
19 |
|
|
|
20 |
|
|
This module is intended for translation of generic paths that don't have other way of being translated.
|
21 |
|
|
|
22 |
|
|
Note: path translations must be defined without aliases.
|
23 |
|
|
|
24 |
|
|
====================================================================
|
25 |
|
|
Jose A. Reyero, http://reyero.net |