WeblateOrg / WeblateOrg/weblate

Open the translation editor where you can navigate through all the matching strings in the same language while searching at the language (of a project) level, and more?

Open
#7,478 2 comments 0 reactions 0 assignees View on GitHub
Area: UX enhancement Waiting for: Demand
Dominant language
Python
Stars
6.1k
Forks
1.4k
Avg merge
9h 53m
Merged PRs (30d)
395

Description

### Describe the problem

While searching at the language (of a project) level, clicking the link of strings on the search page always opens the translation editor where you can only navigate through all the matching strings in the same component instead of the same language.
![image](https://user-images.githubusercontent.com/49396421/162351610-449ee716-ba9d-49d7-bda1-b33b6b6fcb76.png)

### Describe the solution you'd like

Do not specify the component in the URL.
For example, while searching `role` at the Simplified Chinese level, clicking the link of strings on the search page would open `https://hosted.weblate.org/translate/weblate/-/zh_Hans/?q=role`
![image](https://user-images.githubusercontent.com/49396421/162351529-e7b6b404-ba6e-4956-b247-63f79d7b219e.png)

### Describe alternatives you've considered

_No response_

### Screenshots

_No response_

### Additional context

Is it possible to navigate through all matching strings at different levels?
That is to say, clicking links of strings on the search pages would open different translation editor views that can navigate through all matching strings while searching at different levels. As for URL, that is not specifying the project or the component or the language or none in the URL.

For example, searching the keyword `role`, full editor by default :
1. While searching at the component (of a project) level, such as [Weblate/Application](https://hosted.weblate.org/projects/weblate/application/#search), links would open `https://hosted.weblate.org/translate/weblate/application/-/?q=role`
2. While searching at the project level, such as [Weblate](https://hosted.weblate.org/projects/weblate/#search), links would open `https://hosted.weblate.org/translate/weblate/-/-/?q=role`
3. While searching at the language (of all available projects in the instance) level, such as [Simplified Chinese in Hosted Weblate](https://hosted.weblate.org/languages/zh_Hans/#search), links would open `https://hosted.weblate.org/translate/-/-/zh_Hans/?q=role`
4. While searching all available projects in the instance, such as [Hosted Weblate](https://hosted.weblate.org/#search), links would open `https://hosted.weblate.org/translate/-/-/-/?q=role`

Not sure if it would cause performance issues.
Not sure if it is really useful and necessary.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.