I am trying to add additional languages to a basic Drupal 6 install.
When I download a translation and unzip the package I get a folder with a name like "fr-6.x-1.x-dev" which is the French translation. From what I can tell, I am supposed to upload that folder into my Drupal folder, which I did. Then I went to Site Configuration/Languages/Add language and I added French. However, after that when I go to Site Building/Translate interface it shows French as having 0/276 (0%) strings translated and when I switch to French interface, everything is still in English. So, I think the Add language command is not finding the folder and importing all the .po files.
So, how exactly do I accomplish the import/install without having to install each .po file individually?
This was as I recall routine in Drupal 5 so I don't know what I am missing in Drupal 6 (which for the most part makes everything easier)!
Comments
Comment #1
remer commentedThe language files are not recognized because Drupal can't find them. Copy the languages files that are located in "fr-6.x-1.x-dev" into the Drupal root directory and repeat Site Configuration/Languages/Add language -> French.
Comment #2
cpelham commentedThat would be exceedingly tedious and cannot be the intended method. Inside the "fr-6.x-1.x-dev" folder are three more folders: modules, profiles, and themes. Inside modules alone there are 33 folders. If I have to open each folder and upload each .po file one by one into my root Drupal directory, that would be a pain in the ass. Why wouldn't they all the .po files just be distributed in one folder to make it possible to upload them all at once?
And anyway, after that am i supposed to leave this huge number of .po files in my Drupal root directory? That is messy. Are they copies somewhere, allowing me to delete the files after they have been installed?
Comment #3
remer commentedStill that is exactly the intended method, a good FTP client (i.e. try FileZilla) will automate the upload process for you.
Why did they split the translations files, why did they release drupal 6? See What's new in Drupal 6.
Comment #4
ainigma32 commentedSee here http://drupal.org/node/275705 for tutorial.
- Arie
Comment #6
Bevan commentedSounds like a good case for the Core translation import module.
Comment #7
isidoromendez commentedMy solution was check the permission and owner in "translations" folders