Dear all,

I am not new with drupal, but new with the translation. Can you advise me where the .po file stored? I would like to edit it and upload it via ftp rather than import it if possible. Thanks in advance.

Comments

Pedja Grujić’s picture

You can try it with drush if you don't want to import via admin panel.

You will need drush and https://www.drupal.org/project/l10n_update

Then use:

drush l10n-update-refresh // Looks for new po-files
drush l10n-update // Updates translations

I usually use Home > Administration > Configuration > Region and Language > Import.

Pedja
Drupal Geek at New Target Inc.
http://www.newtarget.com

hongqing’s picture

Hi pgrujic,

thanks for your reply. Can you tell me the directory where the .po file is stored after it is imported?

vliefooghe’s picture

I think the po file, once you imported it, is stored in the database, not in a file, unless you export your translation.

You can find translations in locales_source and locales_target tables.

hongqing’s picture

vliefooghe,

Thanks for your reply, now it is clear.

Hongqing

chaitanya17’s picture

Translation files .po are not store in database.
They are store under directory "sites/default/files/translations"

Balu Ertl’s picture

For those who lands here many years later, the same commands for Drush 9 are:

  1. drush locale:check
    
  2. drush locale:update