[Tool][Pontoon]: request to add FTL parameters feature
Categories
(Mozilla Localizations :: Other, enhancement)
Tracking
(Not tracked)
People
(Reporter: meskobalazs, Unassigned)
Details
Steps to reproduce:
Currently there is no straightforward way to know what FTL parameters are available for embedded strings.
Actual results:
Currently if you need to know the available parameters, you need to find the source string in Pontoon, and look at the FTL (usually at Mozilla.org/brands.ftl).
Expected results:
I propose, that we should show FTL parameters when using FTL strings in another string. I'll give an example to show what I mean. Let's see this hypothetical string:
Learn more about { -brand-name-mozilla }
In this example, I am using the Mozilla brand name, which is specified by the following FTL in the Hungarian translation of brands.ftl:
-brand-name-mozilla =
{ $ending ->
*[normal] Mozilla
[accented] Mozillá
}
This is required, because "about" is a suffix in Hungarian, so in this case the Hungarian translation is:
Tudjon meg többet a { -brand-name-mozilla(ending: 'accented') }ról
The problem is, that I know about this parameter, because I translated the original string, but other translators (especially newcomers) won't know about this. So if possible, we should be able to see the available FTL parameters in these cases.
Comment 1•3 years ago
|
||
Note that Pontoon moved to GitHub Issues.
I think this is covered by this existing bug/issue, feel free to add there if something is missing.
Comment 2•3 years ago
|
||
I've filed a dedicated issue:
https://github.com/mozilla/pontoon/issues/2363
Thanks for the report!
Description
•