Download & Extend

How to extract Drupal installer translation template

Project:Translation template extractor
Version:6.x-2.x-dev
Component:Miscellaneous
Category:support request
Priority:minor
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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!

Comments

#1

Status:active» postponed (maintainer needs more info)

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:

  • batch.inc
  • block.admin.inc
  • comment.module
  • file.inc
  • filter.module
  • locale.module
  • menu.admin.inc
  • node.admin.inc
  • node.module
  • statistics.admin.inc
  • statistics.module
  • statistics.pages.inc
  • system.admin.inc
  • system.js
  • system.module
  • taxonomy.admin.inc
  • update.module
  • update.report.inc
  • upload.module
  • user.admin.inc
  • user.module

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

Status:postponed (maintainer needs more info)» closed (fixed)

Once again - my bad. I just read in detail http://drupal.org/project/drupal-pot. And there it is:

A script will generate a merged id.po file

.
I'm sorry wasting your time.