Project

General

Profile

Actions

Bug #31717

closed

FastGettext initialization is slow

Added by Lukas Zapletal about 4 years ago. Updated over 3 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

Also available in: Atom PDF