| 15 Mar 2011, 11:46 | |
|
Joined: 14 Mar 2011
Posts: 13 Montreal, Canada |
Hi!
I live in a bilingual country which is beautiful Canada... I mostly speak French but Montreal being a big city, there's a lot of english people here! Probably 70% french and 30% english... So I wanted to translate my whole gallery to extend my business opportunities to the english market as well, but I couldn't find an easy way of doing so. I first though i'd be able to upload a complete new english gallery in a different folder on my server (www.etienneouellet.com/eng/) and then, have both my french and english website share the same "content" folder. But I found out that translating a folder's name to english would affect the french version as well. So it turns out the only way of a having a multi lingual website would be to have two separate galleries with their own "content" folder?! That's going to be an hassle when comes the time to update the content! Is there an other way? Somebody though of a twist I could use to have them share the same "content" folder? If not... then I guess this post could be moved to the request category! I'd REALLY like to be able to have a bilingual website! Merci! _________________ ![]() |
| 16 Mar 2011, 06:06 | Re: Multi lingual |
|
Imagevue Wizard Joined: 30 Sep 2006Posts: 7319 |
Right now, you can have multiple languages for the interface - For example:
http://imagevuex.com/demo/x2/?language=norwegian http://imagevuex.com/demo/x2/?language=french Unfortunately, it is an entirely different world when it comes to supporting multiple languages in actual content, titles and descriptions. For this, Imagevue would require multiple input fields for each attribute for each language for each file and folder in the admin. Although not impossible, this would be too big of a technical and logistical challenge at this point. Not even large community-maintained galleries of services like Flickr and Picasa have this functionality. I understand very well why you require this of course, and it has been requested earlier also. We will perhaps consider it in the future if we find the time. I actually have some ideas on how this can be implemented without too much hassle, so let us think about it for a while and maybe I can get back to this topic. In the meantime, your only solution would be to manage 2x entirely separate physical galleries. _________________ Karl / mjau-mjau ![]() ![]() ![]() ![]() www.imagevuex.com www.mjau-mjau.com www.photogallerylinks.com |
| 16 Mar 2011, 18:09 | Re: Multi lingual |
|
Joined: 14 Mar 2011
Posts: 13 Montreal, Canada |
Thanks for your answer!
I totally understand the technical challenge! I was just wondering if it was possible at this time. Keep up the good work, I will closely follow this topic! _________________ ![]() |
| 17 Mar 2011, 00:49 | Re: Multi lingual |
|
Experienced Joined: 30 Jan 2011Posts: 359 The Netherlands |
I actually have some ideas on how this can be implemented without too much hassle, so let us think about it for a while and maybe I can get back to this topic. I'm also very interested in a workaround without too much hassle.... ... just to let you know martin _________________ ![]() |
| 20 Mar 2011, 23:49 | Re: Multi lingual |
|
Imagevue Wizard Joined: 30 Sep 2006Posts: 7319 |
Edit / June 13, 2011 New Multiple Languages Documentation: http://imagevuex.com/blog/languages/ New Multiple Languages Demo: http://imagevuex.com/demo/x2/#/content/Various%20Examples/multi-language/ Based on your feedback, we are now integrating multiple language support into Imagevue. Perhaps not in the most elegant fashion, but at least it should work 100% and is relatively easy to integrate. This feature will be available for Imagevue X2.7 coming soon Basically, it requires you to create your titles and descriptions like this: Code [english]This is an English title[/english][french]Il s'agit d'un titre français[/french] When accessing the gallery with ?language=english, it will show the English text, and when accessing the gallery with ?language=french, it will show the French text.
What do you guys think about this? We are still working on it, so any comments are welcome! _________________ Karl / mjau-mjau ![]() ![]() ![]() ![]() www.imagevuex.com www.mjau-mjau.com www.photogallerylinks.com |
| 21 Mar 2011, 02:36 | Re: Multi lingual |
|
Experienced Joined: 30 Jan 2011Posts: 359 The Netherlands |
Wow... I think it's a great solution!
And if it's already available in version 2.7... that would make it even greater! Every text has indeed its place in titles, descriptions or the content of textpages... so this solution covers it all. And by creating a menu item as a link it is possible to let people switch from language to language. Just one question... when '?language=english' or '?language=dutch' is not used when accessing the gallery is then the default language used? Anyway... I'm happy with this functionality. martin _________________ ![]() |
| 21 Mar 2011, 06:35 | Re: Multi lingual |
|
Imagevue Wizard Joined: 30 Sep 2006Posts: 7319 |
Just one question... when '?language=english' or '?language=dutch' is not used when accessing the gallery is then the default language used? Yes - Everything is covered. Thanks for putting us onto track for this. I think it's a very useful feature for some people, without creating a large overhead. _________________ Karl / mjau-mjau ![]() ![]() ![]() ![]() www.imagevuex.com www.mjau-mjau.com www.photogallerylinks.com |
| 21 Mar 2011, 09:55 | Re: Multi lingual |
|
Experienced Joined: 30 Jan 2011Posts: 359 The Netherlands |
Hi Karl,
I was just wondering... is it also possible to make Background Image 2 and 3 dependent on a language setting? If so, it is possible to change ones logo for different languages. In my case the logo says 'Fotografie' in Dutch, but it should be 'Photography' in English... martin _________________ ![]() |
| 21 Mar 2011, 11:34 | Re: Multi lingual |
|
Imagevue Wizard Joined: 30 Sep 2006Posts: 7319 |
I was just wondering... is it also possible to make Background Image 2 and 3 dependent on a language setting No, you can't have certain languages trigger certain settings. How would we implement this? However, you can create different layouts by using different themes. For example, with your different language links you could assign a different theme: yourgallery/?language=french&theme=french yourgallery/?language=spanish&theme=spanish In each theme, you could set different logos, background and even colors or what you like. Just for the record, you can also avoid using URL parameters if you want to make prettier links. For example: yourgallery/french.html yourgallery/spanish.html This would just require some manual labor to create html file copies, and then you can hardcode the parameters directly in the document. _________________ Karl / mjau-mjau ![]() ![]() ![]() ![]() www.imagevuex.com www.mjau-mjau.com www.photogallerylinks.com |
| 21 Mar 2011, 11:45 | Re: Multi lingual |
|
Experienced Joined: 30 Jan 2011Posts: 359 The Netherlands |
Well... my first thought wasn't that the language would trigger a setting, but that a setting would be active only for a specific language.
But of course... different themes would solve it... great! Imagevue is soooo flexible martin _________________ ![]() |
| 22 Mar 2011, 19:21 | Re: Multi lingual |
|
Joined: 14 Mar 2011
Posts: 13 Montreal, Canada |
Wow! I didn't checked the board last week, and now look what I found! This is an amazing news!
I think this will work really great! Can't wait to test it! It should be pretty easy to implement. A really cleaver feature for imagvue. I think it just greatly boosted it's value! I will definetly get back to you guys once I update to 2.7! _________________ ![]() |
| 29 Mar 2011, 10:35 | Re: Multi lingual |
|
Experienced Joined: 30 Jan 2011Posts: 359 The Netherlands |
Just for the record, you can also avoid using URL parameters if you want to make prettier links. For example: yourgallery/french.html yourgallery/spanish.html This would just require some manual labor to create html file copies, and then you can hardcode the parameters directly in the document. I tried to make such a html file, but I still get the parameters in the URL. Could you give me an example? Thanks. martin _________________ ![]() |
| 29 Mar 2011, 22:57 | Re: Multi lingual |
|
Imagevue Wizard Joined: 30 Sep 2006Posts: 7319 |
I tried to make such a html file, but I still get the parameters in the URL. Could you give me an example? Not quite sure what you mean with "parameters in the URL", because you will still get #/path/here/ unless you turn OFF the SWFAddress module. This is related to deep-linking in your gallery, and nothing to do with the parameters stated above that set the language. However, if you want to create separate documents instead of using long parameters in the URL, try this: 1. Go to your gallery, and in your browser click "view source". COPY the entire source. 2. In your html editor of choice (textpad, dreamweaver etc.), simply paste the code you copied. Save as test.html. and you have a working duplicate of the gallery that can be accessed with yourgallery/test.html 3. In this file, locate the following close to the bottom: Code var flashVars = { foreground_color: 'EEEEEE', background_color: '222222' }; flashVars.theme = 'default'; }; This is where you add your parameters, instead of adding them to the URL: Code var flashVars = { foreground_color: 'EEEEEE', background_color: '222222', language: 'french' }; flashVars.theme = 'mytheme'; }; As you can see in the example abobe, we added "french" as the language, and changed the theme to "mytheme". Save this document as "french.html", and then you can access it as yourgallery/french.html. It will display in French with a separate theme without having to add the parameters in the URL. _________________ Karl / mjau-mjau ![]() ![]() ![]() ![]() www.imagevuex.com www.mjau-mjau.com www.photogallerylinks.com |
| 30 Mar 2011, 08:08 | Re: Multi lingual |
|
Experienced Joined: 30 Jan 2011Posts: 359 The Netherlands |
That's exactly what I was looking for.
I could not make this up myself. I know that the #path deep-linking parameters still will be visible, but that's OK for me... Thanks! martin _________________ ![]() |
| 01 Apr 2011, 12:50 | Re: Multi lingual |
|
Experienced Joined: 30 Jan 2011Posts: 359 The Netherlands |
Just another question:
Is it possible to make 'link:' language-sensitive too? For example something like this: Code [dutch]http://www.martinbroeze.nl/panorama/tour_dutch.htm[/dutch][english]http://www.martinbroeze.nl/panorama/tour_english.htm[/english] _________________ ![]() |






