Page 1 of 1

Language links

Posted: 01 May 2011, 17:43
by grimurnet
it would be a great feature to be able to add links to chosen languages, so that when you choose eg. english you will be brought to the english page of the current page. Be able to add the link to the mainmenu and also as control buttons just like the share feature. Because now we can add eg. [english]some text[/english] so this would be a great usage with the ability to click a link to the language the user chooses.

Re: Language links

Posted: 01 May 2011, 23:40
by Martin
grimurnet wrote:... so that when you choose eg. english you will be brought to the english page of the current page. Be able to add the link to the mainmenu and also as control buttons just like the share feature.
This is possible already.
You just have to make a folder and use it as a link.
Make a title like: [dutch]Engels[/dutch][english]English[/english]
Assign a link like: http://portfolio.grimur.net/english.html

You can make this english.html file by starting imagevue (possibly better being logged out as admin) and saving the source.
Modify the source so that the language parameter is included. You can even make a dedicated language theme active. This can become handy i.e. when you want different background images for a language (like logo, copyright, etc.)

Read also these topics:
https://forum.photo.gallery/viewtopic.php?f=28&t=6790
https://forum.photo.gallery/viewtopic.php?f=28&t=6829

Example (language has been added and theme has been modified):
Code
						var flashVars = {
							foreground_color: 'FFFFFF',
							background_color: '000000',
							language: 'english'
						};
							flashVars.theme = 'englishTheme';
							var attributes = {
							id: 'imagevue',
							name: 'imagevue'
						}

Re: Language links

Posted: 02 May 2011, 04:03
by mjau-mjau
As mabro mentions, you can already add specific links in the menu or in any text for a specific language. We will consider adding a language drop-down selector as you mention in a future release ...

Re: Language links

Posted: 02 May 2011, 06:03
by grimurnet
that would be great :-)
And thanks a lot for the info Mabro, I'll have to try it out.