Author: batiste.bieler
Date: Sun Feb 8 10:35:10 2009
New Revision: 336
Modified:
wiki/FAQ.wiki
Log:
Edited wiki page through web user interface.
Modified: wiki/FAQ.wiki
==============================================================================
--- wiki/FAQ.wiki (original)
+++ wiki/FAQ.wiki Sun Feb 8 10:35:10 2009
@@ -37,4 +37,19 @@
== The tree collapse and doesn't expand. What is the problem? ==
- * Check that you have set your site domain name correctly (ie: for
local-host development you will need to set it to 127.0.0.1:8000)
\ No newline at end of file
+ * Check that you have set your site domain name correctly (ie: for
local-host development you will need to set it to 127.0.0.1:8000)
+
+==Add a language prefix before the urls==
+
+ # change the url routing to accept a language prefix parameter (lang_id)
+ # change the default "details" view to accept this parameter and change
this line
+
+{{{
+lang = get_language_from_request(request)
+}}}
+into
+{{{
+lang = lang_id
+}}}
+
+Done.
\ No newline at end of file
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pinax-updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/pinax-updates?hl=en
-~----------~----~----~----~------~----~------~--~---