Posted by phoenix on July 1, 2010 at 12:36pm
I have the following situation: a site that has a second language added. Everything gets traslated. Now, I see this. There is a view with a page display. As path it gets "new-programmes/%". There is a possibility to add terms as argument. I found a solution to translate the terms. But when I open the french site I ge t this http://mysite.com/fr/new-programmes/term. I want to have the "new-programmes" translated to "nouveaux-programmes". This will result in http://mysite.com/fr/nouveaux-programmes/translated-term
What are my options? I tried to look for it in the interface translation, but couldn't find the string. Tried an alias, but isn't working either.
Thanks for some help !
Comments
create a new display with the
create a new display with the french language but they are not connected like when you are on english display and you change the language to french it will not go to the french display
cant help you no more cause i haven't fix this problem myself
create a new display with the
duplicate
That's not really an option.
That's not really an option. I have already a language filter in my view. But I don't know how to translate the path...
Anyone?
Subscribe [lacking views path translation]
Same here with Spanish/English.
In the main menu I have a 'myview1' link in the english version that becomes 'mivista1' in the spanish one.
1.- Each of them sends you to the same view
2.- and with the right language as I have filtered view contents by 'user's language'.
3.- I've translated the string 'myview1' to 'mivista1' so that it appears properly translated in the menu.
So ALMOST everything ok. But when it comes to the URL path
'www.mysite.com/eng/myview1' becomes 'www.mysite.com/esp/myview1'
instead of 'www.mysite.com/esp/mivista1'
I can't find the view path in the Pathalias module, so that quirky solution is not possible.
Well, a twist to the views path translation or any patch would be more than appreciated.
Thanx,
hip
node page with Insert View
Hi,
On some sites, people that put content don't know anything about views and it is difficult to modify views' headers and footers. I am trying on a site to create node pages, translated, with a good path alias, and everything a node offers, including permissions to edit it. In those pages, I provide and include a view with the module Insert View (http://drupal.org/project/insert_view). Views, input formats, input filters have to be carefully configured.
I hope this help for path translation and I am open to ear about other ideas.
Solution working for Views and Panels paths
I found today, and successfully implemented the solution found here:
http://www.evolvingweb.ca/story/manually-creating-path-translations-drupal
I have chosen the second option: translating using custom module (In fact I just included the function in my general custom "utility" module).
If you have a better solution (more "integrated"), happy to hear about it.
Daniel