It would be useful to be able to process all modules and themes and directly add missing strings to the locales_source table.

See #361614: Make locale() read only?.

CommentFileSizeAuthor
#3 361615.patch683 bytesOwen Barton
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Gábor Hojtsy’s picture

Version: 6.x-2.x-dev » 6.x-3.x-dev

I agree it would be a good idea to provide an option to be able to fill in the database with strings not translated yet, so users could use potx as a tool to evaluate their translation completeness as well.

Gábor Hojtsy’s picture

Title: Directly import missing strings » Provide option to record untranslated strings in database

Retitling.

Owen Barton’s picture

Version: 6.x-3.x-dev » 7.x-1.x-dev
Status: Active » Needs review
FileSize
683 bytes

This is a very rough patch. I presume some kind of interface control would be needed - is this a checkbox on the form? I am also not quite sure what value to use for the version column.