How to extract Drupal installer translation template
Miteto - March 27, 2009 - 23:07
| Project: | Translation template extractor |
| Version: | 6.x-2.x-dev |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Few days I'm trying to figure out how to extract Drupal installer translation pot, but still no clue. I tried the --mode=core but no go. For example the extracted "installer.pot" contains strings from 15 files, but the spanish po file contains a list of 36 files. Any help appreciated.
PS. On more thing. How to treat the (duplicate) lines? Thanks!

#1
You should run with the --mode=core option from the Drupal root. If you have a list of files not in your generated .po but in the Spanish one, we can look at whether there is a pattern of missing files there. Also, (duplicate) only signifies strings which are also in the runtime string list, so you might as well just look them up there instead of translating them from scratch.
#2
I'm sorry, bad explanation. Since the official translations do not contain "installer.po" I point /profiles/default/lang.po . The files that are not present in installer.pot generated with "--mode=core", but do appear in es.po, ru.po etc. are:
BTW, same goes for the general.pot and general.es.po - they differ in the means of the file sources.
Thanks
#3
Anyone else seen this problem? Most of these files seem like basic things which should have been parsed.
#4
Once again - my bad. I just read in detail http://drupal.org/project/drupal-pot. And there it is:
.
I'm sorry wasting your time.