tensh |
|
---|---|
When I set up internationalization to include language selector in the url, it works only in pages and lists. But Cotonti also makes urls like /en/admin and stuff, which don't work. How should I change htaccess to make the rest of urls work? edit: it looks like only www.site.com/en/admin doesn't work, but once I get into www.site.com/admin/ , then the rest links like www.site.com/en/admin/config do work. Added 3 minutes later: How does it work anyway? should I get the category structure starting from language codes? How should I add internationalized pages? Added 42 minutes later: I would like to achieve this category structure:
en/news/somenews is it possible? Added 4 minutes later:
An with a category strukture like this: |
|
Відредаговано: tensh (21.09.2012 10:20, 12 років тому) |
Trustmaster |
|
---|---|
First, about admin URL problem: admin, login and message are special, they don't understand rewrite parameters which normally go through index.php. So try linking to them without extra parameters like language. Next, structure. Welcome from Genoa :) In Siena i18n is handled differently. You don't need to maintain similar structure for several languages in parallel, instead you create 1 structure tree in your primary language and then translate it to secondary languages. See this help for the start. May the Source be with you!
|
tensh |
|
---|---|
Okay, thanks for help. But still i have the problem. I have a category called "news". Cotonti displays www.site.com/en/news normally but throws 404 error when I want to navigate to www.site.com/pl/news... how to fix that? Added 2 minutes later: OK, found it. "pl" wasn't in htaccess :) Added 2 hours later: OK, another thing: Let's say I have structure extrafield. How to add it to the internationalization? I should edit the internationalization plugin to take this into account? |
|
Відредаговано: tensh (24.09.2012 12:54, 12 років тому) |