Project

General

Profile

Actions

Bug #31717

closed

FastGettext initialization is slow

Added by Lukas Zapletal about 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Category:
Internationalization
Target version:
-
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

It's because we switch over all 20 languages to actually pull language name in the native language into a list of available languages. We use that in three places: settings page, user page and GraphQL.

This can be easily made lazy-loaded, so those 2 seconds are not wasted during startup. Only few languages are usually used, definitely not all of them.


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #31679: Actions that load the Rails stack are slowClosedActions
Actions #1

Updated by The Foreman Bot about 3 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/8275 added
Actions #2

Updated by Ewoud Kohl van Wijngaarden about 3 years ago

  • Related to Bug #31679: Actions that load the Rails stack are slow added
Actions #3

Updated by The Foreman Bot almost 3 years ago

  • Fixed in Releases 3.0.0 added
Actions #4

Updated by Anonymous almost 3 years ago

  • Status changed from Ready For Testing to Closed
Actions #5

Updated by Tomer Brisker over 2 years ago

  • Category set to Internationalization
Actions

Also available in: Atom PDF