hello,
thank you for your reply. I have found some interresting information on the wpml forum.
but unfortunately the info is outdated.
May I ask to have a look on the following code
(copy/pasted from
http://wpml.org/2009/08/multilingual...comment-152189)
maybe you can help me to make this modification on the latest atahualpa (3.7.3) ?
When visitors click on ‘Home’, they expect to get to the home page without switching language. Since each language has a ‘home page’ with a different URL, a single value for all will not work.
Normally, WordPress themes calculate the address for the ‘Home’ page based on the ‘Blog URL’ value set in the admin page. WPML created a function that calculates the correct home address according to the display language.
We replaced get_option(‘home’) with wpml_get_home_url(). Also, the get_option(‘home’) function returns the site’s localication without a trailing slash (/), so themes add it manually. WPML’s function includes this slash (there’s a long story behind this).
To do this change, we had to edit two files. Modified
functions/bfa_get_options.php and change:
Code:
$bfa_ata['get_option_home'] = get_option('home');
into
$bfa_ata['get_option_home'] = wpml_get_home_url();
Also, edited functions/bfa_header_config.php and removed the trailing slash from the home page link:
'<a href="' . $bfa_ata['get_option_home'] . '">' . $bfa_ata['bloginfo_name'] . '</a>'
--> I don't find the code on bfa_get_otions.php with atahualpa 3.7.3
regs,
Xaa