Closed Bug 1476945 Opened 6 years ago Closed 6 years ago

[FTL] Query TM with simple strings

Categories

(Webtools Graveyard :: Pontoon, enhancement, P2)

enhancement

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: etrapani, Assigned: mathjazz)

Details

Attachments

(4 files)

I just started translating Common Voice and I have to manually search in the Machinery textbos in order to get the translations for language names from other projects. It would be great if the suggestions were shown automatically.
That should also work as described. Could you provide a link?
For example, I'm about to translate "Arabic"[1] and the Machinery tab says "No translations available". If I type "Arabic" in "type to search machinery", then I get two 100% translations from memory. In the case of "Breton"[2], it doesn't help to search "Breton", I need to search "breton" (case sensitive), but then I get the suggestion for "Breton"! (with initial uppercase). I'll leave it untranslated so that you can check it. [1] https://pontoon.mozilla.org/eo/common-voice/messages.ftl/?string=179931 [2] https://pontoon.mozilla.org/eo/common-voice/messages.ftl/?string=179142
Upon first visit to "Breton" string
After I search "Breton"
After I search "breton" (lowercase), with suggestion (uppercase)
Is there another way to get the already translated strings from another project while the suggestion machinery is being fixed? From Firefox to Common Voice. I tried exporting, to do the suggestions off-line and then upload the file, but they are ftl files and I don't have tools for them.
Thanks for the detailed bug report, Eduardo! I'm taking this bug. Here's what's happening: For FTL strings, we query TM with the entire source of the string (e.g. "ar = Arabic" instead of "Arabic"), because we also store FTL strings in TM as source values. Since the vast majority of string in TM are non-FTL, we should change that and send query as a simple string. As a consequence, we'll miss (short) FTL strings, but that's only until bug 1453341 is fixed, where we'll convert FTL strings in the TM to only include simple strings. Changing the summary to reflect that.
Assignee: nobody → m
Priority: -- → P2
Summary: No automatic suggestions from translation memory in new project → [FTL] Query TM with simple strings
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
When will the fix be available in Pontoon? Even though the bug appears as fixed, I don't see any change yet ...
It should be up now.
It is :) Thanks Matjaž!
Status: RESOLVED → VERIFIED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: