Project

General

Profile

Actions

Refactor #14318

closed

Only load JS translation table for current locale

Added by Dominic Cleal about 8 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Performance
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

As described in #12944 comments, the Javascript locale lookup tables from app/assets/javascripts/locale/ for gettext_i18n_rails_js are large as they are loaded for all languages.

These could be loaded only for the locale that the page is rendered with, and the files could be precompiled separately.


Related issues 1 (1 open0 closed)

Related to Foreman - Tracker #12944: application assets are too largeNew12/27/2015

Actions
Actions

Also available in: Atom PDF