Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By hongqing on
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
You can try it with drush if
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
Hi pgrujic,
Hi pgrujic,
thanks for your reply. Can you tell me the directory where the .po file is stored after it is imported?
I think the po file, once you
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.
vliefooghe,
vliefooghe,
Thanks for your reply, now it is clear.
Hongqing
Translation files .po are not
Translation files
.po
are not store in database.They are store under directory
"sites/default/files/translations"
For those who lands here many
For those who lands here many years later, the same commands for Drush 9 are: