Closed (won't fix)
Project:
Drupal core
Version:
8.0.x-dev
Component:
locale.module
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
4 Oct 2006 at 22:05 UTC
Updated:
29 Jul 2014 at 17:33 UTC
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?
| Comment | File | Size | Author |
|---|---|---|---|
| only_translated.patch | 1.79 KB | RobRoy |
Comments
Comment #1
drummComment #2
gábor hojtsyAn 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.
Comment #3
geodaniel commentedI 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.
Comment #4
geodaniel commentedComment #5
marcingy commentedbumping version
Comment #6
oadaeh commentedConsidering the file and functions do not exist for D8, I think this is no longer valid.