[Closed] Translate icon menu

Home Support English Support [Closed] Translate icon menu

This topic contains 3 replies, has 2 voices, and was last updated by  Harshad 10 months, 3 weeks ago. The support staff assigned to this topic is Harshad.

Viewing 4 posts - 1 through 4 (of 4 total)
Author Posts
Author Posts
July 4, 2012 at 10:41 pm #66200

Andreia

Hello, my template options allow me to create an icon menu with link to certain page.
The thing is i can't duplicate this menu and i have to redirect user to the page on which language he is at.
Please see this image https://dl.dropbox.com/u/2391224/wpml.png to understand. Can you help me to link this item to two differente languages (PT and EN). Thanks you again. You've been very helpfull.

July 5, 2012 at 5:16 am #66227

Harshad

Dear Andreia

The strings that are part of the options that the plugins or themes save in the wp_options table.

When themes and plugins use get_option, they read values from the wp_options table. WPML can filter these calls and provide translation to the values of these options.

For this you can create a language configuration file, which tells WPML which Admin texts you want to translate.

http://wpml.org/documentation/support/language-configuration-files/

July 5, 2012 at 8:20 pm #66416

Andreia

This is not a string that i want to translate. I justo want the same icon to go to different languages when clicked. If i'm in the portuguese version and access that icon i'll go to the portuguese page – the same when i'm on the english version. The thing is i only have one place to write my link > https://dl.dropbox.com/u/2391224/wpml.png

July 6, 2012 at 6:37 am #66441

Harshad

Dear Andreia,

Yes, but these options are stored in wp_options table?

For this you can create a language configuration file, which tells WPML which Admin texts you want to translate.

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘[Closed] Translate icon menu’ is closed to new replies.