Hi all!
I'm having quite a hard time with that issue, it might be a some really simple stuff to sort out...
I'm building a multilingual site. When I switch the language of the site to the second language I need to be able to see the site name in this language as well. The first thing I've done was searching for the site name as a string but Drupal couldn't find it. I used a form_alter in a small custom module that modifies $form['sitename']['#default_value'] = variable_get('site_name', 'Drupal'); to $form['sitename']['#default_value'] = t(variable_get('site_name', 'Drupal')); so it will be translateable. Now Drupal can find my site name as a string, I enter the appropriate site name in the secondary language but there is no difference when I change languages, I can only see the english site name always.
I'm quite sure there must be something really easy because I had no problems with that in D5.
Anyone, please if you have ideas on this one...
Thanks!
Comments
translation site_name, slogan and mission
Open page "adout site" switch on languager you need and fill your items by corresponding languager, that's all.
You mean "about site"? or
You mean "about site"? or rather "Site information"? This did not work for me.
I have two languages, one is www.sitename (local language), the other is en.sitename (international). Whatever I set in the
Home » Administer » Site configuration » Site informationaffects both language versions (Drupal 6).to macko
Sorry, "about site" the path Home » Administer » Site configuration » Site information
it doesn't work
@ andr:
that didn't worked for me. But I found the solution here: http://drupal.org/node/134002 and it worked for me.
it works quite well
to jordanka
The path you pointed:http://drupal.org/node/134002 it is only the begining of the solution.
The variables translation for any version of drupal 6.0-6.6 does correct by using: 1)adding
variables to settings. php; 2)adding modules: transliteration and i18n.
On the page (Home » Administer » Site configuration » Site information) under every item appears the following expression:This is a multilingual variable. Next switch on English and fill in all items, than switch on another language and fill in the translation on that another languager.
Almost correct
The item is marked by "The name of this website. This is a multilingual variable" but I do not see any language options to switch to :( is it any add-on-module which enable this option?
I used the solution here but it seams that it does not work properly with D6.14. Do you know of any other solution? I just wonder how Drupal core advocate for multilingual web site but they have missed such a crucial point. The site info page should be easy to set up for nay new enabled language.
It works for me
For your question on setting different strings for each languages,
It works for me with D6.15