Hi dear friends,
I am trying to translate to Spanish my drupal following all traditional and necessary steps:
1) Downloaded file "es-4.6.0.tar.gz
2)open it in my personal directory (home/xxx) with tar-zxvf ...
3)It makes a new "/home/.../es" directory where "es" directory have the "es.po" file
4)Then, go to Drupal section called "Localization"
5)Add a new language (Spanish) and save it
6)next search the "es.po" file (with browser)
7)go Import section and save it. So, in this moment, nothing have changed.I mean, translated is 0/905 (0%) only.
8)Any way, I change the new language by default remaning "Spanish" first and save it.

So, nothing have changed again.

What could be the problem??, What should be check first??

Thanks everybody.
One thing I am sure: With your help, I have already fix it 50% of my problem.

Ricardo

Comments

victorkane’s picture

OK, I have successfully localized several sites (encompass.com.ar, for example, among others).

Here are the steps I took:

1. Enable localization module in admin / module
2. (Don't copy es-4.6.0.tar.gz to your hosted drupal installation; instead: ) Go to admin / localization; Click on import.
3. First choose language to import to (Spanish).
4. Then browse to es.po (which you untarred from the es-xxx.tgz file on your local PC), and then click on "import" below.
5. After successful import (message should tell you the import was fine, otherwise you may be using the wrong es.po for you Drupal version), go back to admin > localization again.
6. Now you should see a Spanish option, as well as the default English one. You can either simply enable Spanish and give users the choice and/or make Spanish the default and/or disable English entirely if you choose.

let me know if this helps

inglés,

http://awebfactory.com.ar

richardvr’s picture

Hi ingles,
unfortunately it did not work. I follow all steps and drupal shows me 0/905(0%) translated again.
What estrategie or rule do you thing I can follow in order to check my system??.
I use Debian Sarge 3.1 and I have installed Drupal-4.6.3 version and I have downloaded "es-4.6.0.tar.gz" version file.
May be a memory problem of some script php file??

Thank you very much for your help.
Richard V.

victorkane’s picture

Hi, let's go over the steps I took (which have been successful several times on 4.6.3), maybe I left out something:

1. Download file to your own local computer: http://drupal.org/files/projects/es-4.6.0.tar.gz

2. unpack the "es.po" in your own personal computer, ready to upload to your hosted site.

3. Follow the following instructions from the README file, which we will walk thru in detail:

To install this translation you need to upload and import it through the Drupal administration interface. Make sure locale.module is enabled at "administer > modules", go to "admin > localization > manage languages > import" and follow the instructions.

4. Go to administer > module and enable the "locale" module.

5. If necessary, go to administer > access control and give permission to "administer locales" to your admin user (if not first user which has full right to everything automatically) in the locale module permissions.

6. Now go to administer > localizatoin. Click on the "import" tab.
Select "Spanish" as the language to import into. Hit the "browse" button (where it says "language file") and browse to the es.po file you have ready on your personal computer (the es.po file, and NOT the es-4.6.0.tar.gz tarball). When you have selected the es.po file on your computer, click on the "Import" button to upload the file from your own personal computer to the hosted site. The locale.module will import the contents into the database.

(Unless you have some powerful reason for not doing so, leave the default "Strings in the uploaded file replace existing ones, new ones are added" option selected.)

7. Hitting import will start uploading the es.po file, and you should then see, after a short period (depending on the speed of your connection):

  • Spanish language added.
  • Translation successfully imported. 1852 translated strings added to language, 0 strings updated.

(Notice the number of strings "1852": make sure you upload the "es.po" to be found when you untar the http://drupal.org/files/projects/es-4.6.0.tar.gz file on your personal computer.)

8. You will also see "es" as a language option in the table below, and enable/disable languages as you like, and also choose the default interface language for your site.

Any error in this sequence should be investigated in the administer > logs, or even your database error logs, etc.

good luck!

Inglés
http://awebfactory.com.ar

richardvr’s picture

Hi ingles,
Thank you so much for your help. You are right in everything.
So, I have good news specially for me. I have made a final good instalations traducing my drupal. But I did the following:

1.-I Deleted all my drupal database;
2.-I created again a new drupal database;
3.-Then, I followed all the normal steps in order to translate it to spanish. Now, the difference is that there is a low size (less kilos)
in drupal file to translate. So, translate percent now is 100% .
It is perfect now.
In short words, the recomendation for all drupal users that want to translate their Drupal for any language, make it first before to begin to work on it.
Note: I did not change a php script file or memory.
Richard V.

franckweb’s picture

Richard I could import the es.po file to my drupal installation but it's tranlated only 89% ... I already have content in my drupal website so how could I do to get 100% translated content in spanish?

Could you please maybe send me your es.po file so I could try to import it and translate the admin user interface?

luis12123’s picture

aaaaaaaa