Search…

X3 Photo Gallery Support Forums

Search…
 
grimurnet
Experienced
Topic Author
Posts: 360
Joined: 17 Dec 2010, 04:50

Language links

01 May 2011, 17:43

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.
 
User avatar
Martin
Experienced
Posts: 651
Joined: 30 Jan 2011, 23:24

Re: Language links

01 May 2011, 23:40

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'
						}
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: Language links

02 May 2011, 04:03

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 ...
 
grimurnet
Experienced
Topic Author
Posts: 360
Joined: 17 Dec 2010, 04:50

Re: Language links

02 May 2011, 06:03

that would be great :-)
And thanks a lot for the info Mabro, I'll have to try it out.