Is it possible to have translations of the primary and secondary links managed via administration -> themes?

I'm using the Pushbutton theme and I can only have these links in one language. It would be good to have the possibility to introduce different versions via

/es/admin/themes/settings/pushbutton
/ca/admin/themes/settings/pushbutton
/en/admin/themes/settings/pushbutton

for instance.

Comments

Jose Reyero’s picture

Yo can use 'language dependet variables' feature for the theme settings.

The variable name is 'theme_settings' so you will need something like this in your config -conf.php- file:

	$i18n_variables = array(
                // Other variables
                 ........... ,
                 ............
		// Theme settings
		'theme_settings',

	);

Then you will have to redefine all your theme settings (primary, secondary links, logo...) for each language. Just switch language in the theme administration pages...

qgil’s picture

Done! Thanks you.

This module really rocks!

Anonymous’s picture