Update doco for i18n sites.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@201746 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Emmanuel Venisse 2005-06-25 13:13:05 +00:00
parent 59e7f83588
commit 9e1337905c
1 changed files with 7 additions and 5 deletions

View File

@ -207,17 +207,19 @@ m2 site:site site:deploy
be generated at the root of the site, with a copy of the French translation of the site in the <<<fr/>>> subdirectory. be generated at the root of the site, with a copy of the French translation of the site in the <<<fr/>>> subdirectory.
To add your own content for that translation instead of using the default, place a subdirectory with that locale To add your own content for that translation instead of using the default, place a subdirectory with that locale
name in your individual content directories. For example: name in your site directory and create a new site descriptor with the locale in the file name. For example:
------------------- -------------------
+- src/ +- src/
+- site/ +- site/
+- apt/ +- apt/
| +- fr/
| | +- index.apt (French version)
| +- index.apt (Default version) | +- index.apt (Default version)
+- site.xml +- fr/
| +- apt/
| | +- index.apt (French version)
+- site.xml (Default site descriptor)
+- site_fr.xml (French site descriptor)
-------------------- --------------------
~~TODO: what about translating site.xml? With one site descriptor by language, translated site can evolve independently.