Start a new topic

REQ: Unbundle the default translation of a segment pattern

Well, I'm not sure if this is useful for other users.


A segment pattern containing a default translation is like this:


{1=Apple} released a {2=new product} last month.


This is good. But if two separate entries are automatically created at the same time, it might facilitate future maintenance (and, of course, this is much easier to read):


Apple released a new product last month.

{1} released a {2} last month.


But, some users may want to retain the context: the attribute of each variable, or what they want or expect it to be replaced by.


Then, the following might satisfy both:


{1/proper noun=Apple} released a {2/noun=new product} last month.


And two separate entries are automatically created:


Apple released a new product last month.

{1/proper noun} released a {2/product} last month.


Attribute description after / and before =


Like a memo in programming that is not executed in practice.


Cheers


M,


Login to post a comment