Closed Bug 1280686 Opened 8 years ago Closed 8 years ago

Build UI for advanced L20n patterns

Categories

(Webtools Graveyard :: Pontoon, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mathjazz, Assigned: mathjazz)

References

()

Details

(Whiteboard: [gecko-l20n])

User Story

FTL syntax of the L20n fame offers features that require changes to our translation UI in order to be easy to use. For that to work, we also need to change our data model.

BLOCKERS FOR L20N IN ANDROID
- source view
- defaults
- autocomplete entity references: original entities only
- general selector support

NICE TO HAVE
- errors
- non-selector variants
- semantic comments
- call expressions
- autocomplete variants and variant expressions
No description provided.
matjazz: do we have any sketches/wireframes for the new l20n editor?
Flags: needinfo?(m)
Not yet. We should either: 1. Prepare something for each of the advanced FTL syntax features. 2. Identify the most common use cases for these advanced features (like genders, plurals, access keys, HTML attributes, etc.) and build upon that.
Flags: needinfo?(m)
Priority: -- → P2
The first pieces of UI we port to l20n will be full of XUL attribute traits for access and command keys.
Mass change dependency tree for bug 1279002 into a whiteboard keyword.
No longer blocks: gecko-l20n
Whiteboard: [gecko-l20n]
Summary: Modify Entity, Translation, TranslationMemory data models to support FTL → Build UI for advanced L20n patterns
User Story: (updated)
Assignee: nobody → m
Depends on: 1317141
User Story: (updated)
Commit pushed to master at https://github.com/mozilla/pontoon https://github.com/mozilla/pontoon/commit/0fbfe463f91ca9fd8ad55a3c196ff40a571d647a Fix bug 1280686: UI for advanced FTL patterns (#518) This is the first attempt at implementing UI for the advanced Project Fluent patterns. It supports FTL 0.3. Since FTL syntax should more stable than the AST, we store FTL messages as strings in the DB. **It brings:** * More robust `FTL` file format parsing and serialization. * Support for all patterns used in Test Pilot project, which is already enabled: * Simple strings. * Multiline strings. * Attributes. * Special interface for localizing access keys. * Special interface for localizing plurals. * Basic error handling of translations. FTL switch and Attributes button are hidden for now.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Filed a separate bug to track features needed by Android: https://bugzilla.mozilla.org/show_bug.cgi?id=1362072
Commit pushed to master at https://github.com/mozilla/pontoon https://github.com/mozilla/pontoon/commit/aed321709091aab5d8e8228462fce7bdbbf9db2a Bug 1280686: FTL presentation fixes (#597) This fixes several issues with the display of FTL strings: * Render Locale suggestions as simple preview * Escape HTML in source strings * Properly display strings with placeables
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.