[drupal-support] i18n module

=?unknown-8bit?B?Quhy?= Kessels ber at webschuur.com
Thu Oct 20 07:20:59 UTC 2005


Hi,

the config file is the one in sites/default/settings.php There you must add the name of the variables you want to translate.
For example mission. When you then visit the place where you edit the mission, you can edit it for each language by activating that language and 
then editing that mission.

Ber
-- cool to see indymedia interested in Drupal --

On Wed, Oct 19, 2005 at 02:24:29PM +0200, bruno at indymedia.be wrote:
> hello Mohammed,
> 
> I had the same question as you're having.. the way I do it now is by 
> putting the strings (words, or pieces of text) I want to translate 
> between t(). afterwards you can look for your string in the locales 
> admin and translate each string for each language. to call the string 
> in, let's say, a menu, you can use a <?php echo t(...) ?>
> 
> dunno if the echo is the cleanest way to do it, but it works fine for me.
> 
> best,
> -- bruno
> 
> Mohammed al-shar' wrote:
> 
> >dear listers,
> >hello. I have been experimenting with the i18n module to creat a multi 
> >lingual site, and so far I have been able to translate nodes as 
> >expected. however, I need help with how to get the 'language dependent 
> >variables' to work. I know I should be modifying the config file, but 
> >where is that file? anybody who ever done this please help me out.
> >I want in the end to have different site title, mission statement, 
> >footer, menu, etc. for each language.
> >any help will be highly appreciated.
> >regards,
> >Mohammed Al-Shar'
> > 
> >Adaptive technology specialist
> > 
> >email:
> >mohammed at mystop.net <mailto:mohammed at mystop.net>
> > 
> >mobile: 00962(79)6632186
> > 
> >website:
> >http://www.mystop.net
> >
> > 
> >
> 
> -- 
> 
> "(...) people who are concerned about human rights issues, issues of 
> social justice, the environment, need to understand that unless you 
> change the media you never really ultimately are going to change 
> anything." -- Robert McChesney
> 
> indymedia.be <http://belgium.indymedia.org> _ GetBasic 
> <http://getbasic.be> _ fluxx.be <http://fluxx.be>
> 
> PGP public key: keys.indymedia.org <http://keys.indymedia.org> _ id: 
> D48B28E2
> 
> --
> 

> -- 
> [ Drupal support list | http://lists.drupal.org/ ]



More information about the drupal-support mailing list