Project

General

Profile

Actions

Refactor #14318

closed

Only load JS translation table for current locale

Added by Dominic Cleal about 8 years ago. Updated over 5 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 #1

Updated by Dominic Cleal about 8 years ago

Actions #2

Updated by The Foreman Bot about 8 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/3358 added
Actions #3

Updated by Dominic Cleal about 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #4

Updated by Dominic Cleal about 8 years ago

  • translation missing: en.field_release set to 136
Actions

Also available in: Atom PDF