-
Notifications
You must be signed in to change notification settings - Fork 288
Monolingual formats
phlax edited this page Aug 9, 2016
·
4 revisions
- retain existing behaviour for bilingual projects
- any useful features may be ported across once stable
- templates are absolutely authoritative
- a store cannot exist in a lang tp if not in corresponding template tp
- a unit cannot existing in lang stores if not in corresponding template store
- all stores/units in template tp are present in all lang tps
- 2 possible approaches
- Stores/Units are only created in db when the lang unit has a target (or other data)
- lets call it "shadowed tps"
- Stores/Units are created/updated/deleted in every lang tp on template change
- "mirrored tps"
- Stores/Units are only created in db when the lang unit has a target (or other data)
- far better design
- more efficient
- less units
- less change
- requires more work most of the way through stack
- de/serialization
- unit retrieval (ie get_units)
- diffing/Store.update
- way less efficient
- requires far less work to implement
- could be converted to shadowed approach once stable