hi all,
i'm new in drupal and i need help.
i'm building a multilanguage site with drupal 7 and i want to create a view that filters results based on the site language.
i want to show a specific set of nodes in english visualization and another specific set of nodes in italian visualization.
in the view module, the language filter, have the "user language filter", "default site language filter", "distinct language filter", but i can't filter results with current site language.
Hello,
I was looking for solution to sync attributes and options in ubercart. Not alot was found so I decided to write it by myself. I hope it will be useful for somebody. ;)
I haven't found how to insert here a file, so i just paste the code.
NOTE:
1. i18_sync (Synchronize translations) module should be enabled.
2. On product content type edit page there is a tab "Synchronize translations", so "Attributes" checkbox should be checked. (This checkbox will appear after creating custom module with the code below. Don't forget to clear cache.)
Using the Entity Translation we can have a Content type with:
Title (single language)
Description (text area)(lang:EN)
Description (text area)(lang:XX)
On Views we can configure the language from Other->Field Language
But, I need to display in parallel in a View both “Description (text area)” regardless the language.
So the results of the View will look like:
Node 1:
Title: Lorem ipsum (single language)
Description-EN: Lorem ipsum (lang:EN)
Description-XX: Lorem ipsum (lang:XX)
Node 2: ....
I have created a website in English using Drupal 7 that I am 90 % done with but now I want to do exactly the same site but in Swedish instead of English. I have tried many different ways using help found on the internet but I haven't been able to solve it. I am fine with doing all the translating manually, I just want a way of duplicating the site for two languages and a switch between the two sites.