[translate] Localize All Resources and All Projects in main navigation
Categories
(Webtools Graveyard :: Pontoon, enhancement, P3)
Tracking
(Not tracked)
People
(Reporter: mathjazz, Assigned: kathiekim95, Mentored)
Details
(Whiteboard: outreachyround19)
The "All Resources" and "All Projects" entries in the main navigation need to be localized.
You can find them in the Resource menu (access it by clicking on "playground" in http://localhost:8000/projects/tutorial/playground/), where they are localized, but after you select them and they appear in the main navigation, they are no longer localized. You can confirm that by using pseudo-localization.
This bug covers:
- wrapping the unlocalized strings in <Localized> components;
- giving them proper l10n IDs;
- adding the content to the en-US reference .ftl file;
- building the docker image (
make shell
) and verifying, using pseudo-localization, that the content is now localized.
The component's files are:
frontend/src/core/project/components/ProjectMenu.js
frontend/src/core/resource/components/ResourceMenu.js
The localization file is:
frontend/public/static/locales/en-US/translate.ftl
Please note that this is a Translate.Next bug. More instructions must be followed in order to be able to work on it locally: https://github.com/mozilla/pontoon/blob/master/frontend/README.md
Hi Matjazz, what do I have to do to be assigned in this bug that we talked earlier? and also, what about this contribution from Pontoon : https://pontoon.mozilla.org/translate/es-CL/firefox/all-resources/?status=missing&string=204776 ? Does it count as Outreachy contribution tasks?
Reporter | ||
Comment 2•5 years ago
|
||
Juan, the bug is now assigned to you.
Pontoon translations are welcome, but they don't directly count as Outreachy contribution tasks.
Reporter | ||
Comment 4•5 years ago
|
||
As agreed via email, assigning to Katherine.
Assignee | ||
Comment 5•5 years ago
|
||
Thanks @Matjaz, I am currently analyzing this task then I start working on it.
Assignee | ||
Comment 6•5 years ago
|
||
I am trying to reproduce this issue but I am facing an issue understanding it. Currently I see "All Resources" entry has been localized except for "All Projects". Is that okay?
Reporter | ||
Comment 7•5 years ago
|
||
"All Resources" and "All Projects" should both appear unaccented (i.e. unlocalized) on these two links in the main navigation bar:
localhost:8000/projects/tutorial/all-resources/?pseudolocalization=accented
localhost:8000/projects/all-projects/all-resources/?pseudolocalization=accented
Assignee | ||
Comment 8•5 years ago
|
||
I now see what you mean. This "The "All Resources" and "All Projects" entries in the main navigation need to be localized." was abit confusing.
Thank you @Matjaz
Assignee | ||
Comment 10•5 years ago
|
||
okay noted. Thanks :-)
Assignee | ||
Comment 11•5 years ago
|
||
Will it be okay, if "Resource" and "Progress" are unlocalized in the main navigation drop down?
Reporter | ||
Comment 12•5 years ago
|
||
Let's continue the discussion in the PR. And again - please DO NOT needinfo me. :)
Assignee | ||
Comment 13•5 years ago
|
||
I am very sorry. I apologize for misusing needinfo. I actually thought it is used when one needs information from the mentor. I am learning to use bugzilla.
I am sorry once again.
Comment 14•5 years ago
|
||
adngdb merged PR #1449: "Fix bug 1588929 - Localize 'All Projects' & 'All resources' in the main navigation bar" in b826d82.
Updated•3 years ago
|
Description
•