The readme from the Dutch translation says the following:

* Copy (merge) the content of this package into your Drupal root directory.

What exactly does that mean? It contains lots of folders. Do I for instance take the folder chameleon/translations from the Dutch translation and put that in themes/chameleon in the Drupal installation?
Do I do that by hand for all - about 36 folders - or is there one location where to put the entire translation?

Thanks for your help!

Comments

LiquidWeb’s picture

If you are planning to install language file follow these steps

- enable locale module at admin/build/modules
- go to admin/build/translate/import and import your language file
- go to admin/settings/language and select your default language

rvk’s picture

I wanted to know how to install with a couple of translations added straight from the start (not necessarily the installation itself). I watched a screencast, but they used only one .po file and I have many and the instructions are not very clear to me. So that's why I asked.

So suppose I import translations do I simply put the language files anywhere on my computer (note this is not the server)?

Do I uncompress it first?

Thanks!

LiquidWeb’s picture

Yes you need to uncompress archive file and get dutch translation file first.Then follow steps explained above.

Language file you downloaded from drupal.org/translations should contain all translations for Drupal Core. Contrib modules also have their po or pot files under their folder you can translate each of them one by one with a gettext editor (poEdit for windows). Merging multiple translation files is possible but I don't recommend. Personally I prefer to have each modules translation file sepperately.

Since I get more and more Drupal jobs day by day me and my friends translated almost all modules into turkish with poEdit. Than I uncompressed all modules and put my translations to each of them. And compressed all modules so now I have my own "translated" Drupal reprository.

Whenever I need to install a Drupal site in Turkish. I install auto locale import module first (http://drupal.org/project/autolocale) then install modules. At the end of whole process I have my translated site "without unnecessary translations & strings" due to installed & uninstalled modules which cause bigger database.

jhedstrom’s picture

The problem I ran into was that with the spanish translation for 6.x, it only exists in dev form, and the tarball contains many .po files. The solution I came up with was to concatenate all of them into one file, then upload that:

Firts, unpack the translation into an empty folder. Then, move into the folder. Typeing ls */*/*/*po will list all the different files. The next command concatenates them into one file.

jonathan@dent:/tmp/spanish$ cat */*/*/*po > mybigtranslation.po

This creates a file called mybigtranslation.po that can then be imported into Drupal.