Localization Module Configuration
Hi all, Hi tried posting this in the general discussion forum, I guess its just not been the right place for a reply and hope to get some response to help me on this forum:
I've tried pluggin in the locale module.
I'm a bit confused as on how to make it work.
I've tried to add on a new language, enabled it and set it as default.
What I get is that 0/176 (0%) has been translated.
How and where would I do the translation?
Also, I'm thinking of having the different nationality flags on top of my page
(probably in the header). They would be links that, when clicked, translate the
page in the selected language.
Would this be meaning to implement a block module?
Can anyone help me get over this problem?

Actual labels and actual translation
You have two questions.
One is: How do I make the Drupal interface appear in another language? Yes you use the locale module. But you also need the translation for the language in case. So you find the language you wish to enable - download the .po file and import it as a new language in your locale admin interface. That way you get the 176/176 (100%) translated notice. If you don't have 100% you'll just find the untranslated strings and do them yourself.
The other question is: How do I get content translated? I have a website with translations and flags. I don't do the translation. It is done with google translations. I added some code in my theme to have them done. Get back to me if it is something like that you mean.
Gunnar Langemark
http://www.langemark.com
translation with google translator and translating other modules
Hi Gunnar,
Ok, first of all thanks a lot for the really helpful reply.
Very nice weblog you have there! What I need is exactly something like what you've got on it actually.
Have in my site header a series of required flags which will translate the content.
Only thing is, will also other module generated text outputs on the site get translated with the use of
the locale module? ie: I'm using the tanoxomy_menu and the nice_menus modules for a side navigation and a top
DHTML popup navigation respectevely... I need to translate all links as well and these are coded and style thanks to
their modules.
Only thing I haven't considered is using the google translator.
Before reading your post, I was considering of using the i18n module to get my content translated.
How would that work compare to using google translations?
Can you give me a quick overall idea of how google translations actually works and if the service costs anything?
Google Translate URL Structure
I am using Google Translate on www.cybernoggin.com. The URL structure I have used is:
http://www.google.com/translate?langpair=en|es&u=www.cybernoggin.com for English to Spanish.
Just type in http://www.google.com/translate? and you'll see the languages that are available to be translated to.
The reason I went with Google as opposed to i18n is SEO optimization and Google duplicate content concerns. Since i18n creates multiple nodes for the same content, Google would punish my rankings and possibly my total site's indexing. There are workarounds for this, but not worth the effort when a couple of hyperlinks work just as well.
Alta Vista also has Babelfish translation as well (you just insert a small amount of java script code), but my affiliate sales links did not work once my site was translated.
thanks, how does it work
thanks a lot, I've looked at your site and thats exactly how I would like mine to function..
But can you be a bit more specific on how the system actually works..
As in:
1) does google translator translate everything of textual he finds on the page.. ie: nodes, page content, slogan, mission, everything it meets..
2) how do I set up the URL structure.. you said you used those type of URLs.. will that automatically send a request to the google translator or will I have to set it up from a different drupal settings page?
thanks again
Google Translate code for Drupal block
Here is what I did;
1. Create a new Drupal Block using whatever you want as the title.
2. Here is the exact code that I used for the Drupal Block Body (you will need to modify the image source for the flags and replace my URL with your own):
<p><img align="left" src="http://www.cybernoggin.com/modules/i18n/flags/es.png" /> <a target="_blank" href="http://www.google.com/translate?langpair=en|es&u=www.cybernoggin.com">Español</a></p>
<p><img align="left" src="http://www.cybernoggin.com/modules/i18n/flags/it.png" /> <a target="_blank" href="http://www.google.com/translate?langpair=en|it&u=www.cybernoggin.com">Italiano</a></p>
<p><img align="left" src="http://www.cybernoggin.com/modules/i18n/flags/fr.png" /> <a target="_blank" href="http://www.google.com/translate?langpair=en|fr&u=www.cybernoggin.com" >Frances</a></p>
<p><img align="left" src="http://www.cybernoggin.com/modules/i18n/flags/de.png" /> <a target="_blank" href="http://www.google.com/translate?langpair=en|de&u=www.cybernoggin.com">Deutsch</a></p>
<p><img align="left" src="http://www.cybernoggin.com/modules/i18n/flags/ja.png" /> <a target="_blank" href="http://www.google.com/translate?langpair=en|ja&u=www.cybernoggin.com">Japanese</a></p>
<p><img align="left" src="http://www.cybernoggin.com/modules/i18n/flags/zh-hans.png" /> <a target="_blank" href="http://www.google.com/translate?langpair=en|zh-CN&u=www.cybernoggin.com">Chinese</a></p>
Since I tried out the i18n module but decided not to use it, the flags are still in my file structure and decided to use the images.
This translates absolutely everything on your site.
Thank you
Thank you so much.. Finally somebody that gives me a real helpful answer..
I will try it out and get back to this topic to let you know if any probs arise..
mucias gracias again..
Google Translators bar
Hi, I've tried out on a test page that I put on a test server the google translator..
Works pretty good.. but.. is there any way of removing the top google bar that comes with it..
Maybe I can put some extra parameters in the URLs to avoid it showing??
Or do I have to just thank google and accept that the bar will be displayed ??
cheers again..
Also curious if there is a
Also curious if there is a way to remove the google top bar.
Thanks,
mm
Yes, that's a good question.
Yes, that's a good question. Can the google frame on top be removed?
here it is...
click the 'remove frame' and then use the new url that is displayed. It is that easy
pls help me where to include this-urgent
Hai,
do i need to create seperate folder in sites/all/modules/ or do i need to add new block from admin side.Iam not able to get result.please help me
google translator-urgent
Hai,
Please guide me where i need to place this code .
do i need to create new folder in block or
i need to configure block from admin module..please guide me its urgent to implement
locale & localization
for adding flags letting visitors choose their language, there is also the "localizer" module, http://drupal.org/node/81525