weblate icon indicating copy to clipboard operation
weblate copied to clipboard

Show nearby search terms on translate page

Open Aikatsui opened this issue 5 years ago • 4 comments

Is your feature request related to a problem? If so, please describe.

I get this project for example https://hosted.weblate.org/translate/remmina/remmina/si

Search: "authenticate" but weblate only provide one random string for result and nearby strings section doesn't adjust suitable for it

  1. It must provide all strings that contain "authenticate" word
  2. e.g. copy word --> _copy, copying such strings need appear for search result too.

Aikatsui avatar Mar 07 '21 05:03 Aikatsui

@Aujatsui Remmina admin here. When I search for authenticate from that link I get 10 results. https://hosted.weblate.org/zen/remmina/remmina/si/?offset=1&q=authenticate&sort_by=-priority%2Cposition (They are paged 1/10 in the regular editor.)

It is possible to select "authenticate" as a terminology word and add it to the project glossary, but I am not sure it fits. Can you explain in more detail what goes wrong?

Edit: The full search is a bit more detailed https://hosted.weblate.org/projects/remmina/remmina/si/#search

comradekingu avatar Mar 07 '21 14:03 comradekingu

@comradekingu i expect this work on regular editor, it save more time for a translator than struggle with zen mode (two modes) but i don't mean zen mode isn't good. that is specific use case

ksnip-20210308-094637

Aikatsui avatar Mar 08 '21 03:03 Aikatsui

@Aikatsui I think I understand a little bit better now, but just to be clear about what options exist:

Zen search good enough, could be more dense https://github.com/WeblateOrg/weblate/issues/4476 Navigating and getting to new languages here just makes you open a lot of tabs. Available in: Zen (or regular editor if you have Zen set as your regular editor in the settings) bilde

Regular mode search. 10 pages you can flip through, looks aesthetic, doesn't work. Available in: Regular mode bilde

Search search This is not as useful for easy things, but the search builder is useful for complex stuff. Available in: project, project/component, and project/component/language bilde

In Browse this is better, but harder to get to since you need to get to https://hosted.weblate.org/projects/remmina/remmina/si/ Available in: ~~project~~, ~~project/component~~, project/component/language bilde https://github.com/WeblateOrg/weblate/issues/5538 will make it a bit easier to use (less full-search like)

In Matrix you even get an overview of other languages, which is fantastic Available in: project, ~~project/compoent~~, ~~project/compoent/language~~ under tools/Matrix (why not in the latter two I don't know)

It is not documented https://github.com/WeblateOrg/weblate/issues/5073 It could be merged with browse https://github.com/WeblateOrg/weblate/issues/5548


Do you want to search actively, do you want to have the search always open, do you want to click words to search for them, mouseover, overlapping search?

It would be nice if it was possible to search in the other modes from the regular editor. Right now you can have Zen set as primary editor in the settings, and it will open the search in that.

Edit: bilde If you click one of the buttons when you have a search typed in, it opens in the selected editor. Otherwise it changes view to flip between modes in string view.

Also note the ability to click X on for example component level, which would take you to /remminaproject/selected language, instead of having to re-select.

comradekingu avatar Mar 08 '21 11:03 comradekingu

I think I understand a little bit better now, but just to be clear about what options exist: Zen search good enough, could be more dense #4476 Navigating and getting to new languages here just makes you open a lot of tabs. Available in: Zen (or regular editor if you have Zen set as your regular editor in the settings)

Do you want to search actively, do you want to have the search always open, do you want to click words to search for them, mouseover, overlapping search? It would be nice if it was possible to search in the other modes from the regular editor. Right now you can have Zen set as primary editor in the settings, and it will open the search in that.

@comradekingu zen mode, It solve search problem but make more problems too ;) we cannot use automatic suggestion (memory or MT), see comments, nearby keys and other languages (if use zen mode then we have to back to regular or matrix). Most people get benefit from zen, matrix etc after familiar with weblate but first they see the regular editor and evaluate it (then compared to crowdin, transifex etc, this is one thing for them to see weblate as a bad solution while actually it isn't)

Then i mean about small enhancement to the search component available on regular editor and it'll be very helpful for everyone

I think weblate able to add and keep advanced features and facilities for zen, matrix mode or other etc but essential features must have on regular editor

Aikatsui avatar Mar 09 '21 22:03 Aikatsui