[FTL] Make machinery usable for complex strings
Categories
(Webtools Graveyard :: Pontoon, enhancement, P3)
Tracking
(Not tracked)
People
(Reporter: mathjazz, Unassigned)
References
Details
Reporter | ||
Comment 1•7 years ago
|
||
Reporter | ||
Comment 2•6 years ago
|
||
(In reply to Matjaz Horvat [:mathjazz] from comment #1)
Right now we store entire FTL messages, which include keys.
Another consequence of this is are string identifiers in downloadable TMX files, as pointed out by Jordi in bug 1519665:
<tu tuid="common-voice:messagesftl:action-tap" srclang="en-US">
<tuv xml:lang="en-US">
<seg>action-tap = Tap
</seg>
</tuv>
<tuv xml:lang="ca">
<seg>action-tap = Toqueu
</seg>
</tuv>
</tu>
Reporter | ||
Comment 4•5 years ago
•
|
||
Here's our action plan to improve TM support for Fluent strings:
Step 1:
Store Fluent strings in TM as they appear in the string list (as_simple_translation()
). This will prevent Fluent syntax (including keys) from appearing in TMX files and fix TM mismatching of simple strings caused by different keys. Bug 1576120.
Step 2:
Create separate TM entries for value and each attribute of Fluent strings and make requests to Machinery for each input field separately (on focus). This will further improve TM matching.
Step 3:
Create separate TM entries for each selector variant of Fluent strings.
Comment 6•3 years ago
|
||
Updated•3 years ago
|
Description
•