question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Global search slow in languages that aren't english

See original GitHub issue

Description of the issue

The global search / awesome bar is working very slow in any language but english. This behaviour is not presented in version 11.

Context information (for bug reports)

Output of bench version

erpnext 13.7.1
frappe 13.7.0

Steps to reproduce the issue

  1. Change user language to es
  2. Search for anything like “Factura de Venta”, “Cliente”, “Factura de Compra”

Observed result

The search is very slow in showing the results, even the writing in the input is slow.

Expected result

The search should work as good as in english.

Stacktrace / full error message

(paste here)

Additional information

OS version / distribution, Frappe install method, etc.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:13
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
ankushcommented, Oct 21, 2021

Hi @federicocalvo the whole translation system is being revamped right now.

Regarding this specific issue, caching is bit tricky to achieve but debouncing the search calls can make it more usable… will send a PR for that.

1reaction
fproldancommented, Oct 21, 2021

@ankush I understand that this does not solve the issue completely but definitely helps, now is more usable and brings a smoother experience for the user 👍🏻

Read more comments on GitHub >

github_iconTop Results From Across the Web

Global Search issue - very slow in languages that aren't english
Description of the issue The global search / awesome bar is working very slow in any language but english. This behaviour is.
Read more >
10 of the best words in the world (that don't translate into ...
10 of the best words in the world (that don't translate into English) · SPAIN: sobremesa · PORTUGAL: esperto/esperta · ITALY: bella figura...
Read more >
Language settings - Programmable Search Engine Help
The language setting All languages is equivalent to English. Change the language of an existing search engine: On the Programmable Search Engine home...
Read more >
203 Most Beautiful Untranslatable Words [The Ultimate List: A-Z]
From Afrikaans to Zulu, here are 203 most beautiful untranslatable words in other languages from around the world that should exist in English....
Read more >
“Why Do I Feel Like I Can't Learn Languages?” 9 Possibilities
Feel like you just can't learn languages? Failing at language study can be very discouraging, but there's help: Here we have 9 solutions...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found