Useful to create a slim .po when making a custom English language for example. This way you can easily maintain a clean .po with only your changes to a language, then import for your other Drupal sites. Useful?

CommentFileSizeAuthor
only_translated.patch1.79 KBRobRoy

Comments

drumm’s picture

Version: x.y.z » 6.x-dev
Category: task » feature
gábor hojtsy’s picture

Status: Needs review » Needs work

An interesting a small addition. I would call the form field 'translated_only' though, as it is clear enough without the extra 'strings'. Also, I would advise against using 'xor', and opt for a simpler 'or', which should be simple to formulate here. The patch does not apply anymore due to changes in HEAD.

I would also like to point you to "Very fast t() for a small set of strings" (http://drupal.org/node/131061) which might mark this addition obsolote, given that a simpler solution for English customizations might get added.

geodaniel’s picture

I really like the idea of this patch. The exported POs can be very bloated if all you want to transfer are a handful of translated phrases.

geodaniel’s picture

Version: 6.x-dev » 7.x-dev
marcingy’s picture

Version: 7.x-dev » 8.x-dev

bumping version

oadaeh’s picture

Status: Needs work » Closed (won't fix)

Considering the file and functions do not exist for D8, I think this is no longer valid.