Skip to content

Commit

Permalink
core(i18n): add 'ln' locale which maps to 'fr' (#5879)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirish authored Aug 21, 2018
1 parent 5043a08 commit 65be62a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lighthouse-core/lib/locales/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@
*/
'use strict';

/** @fileoverview
* Define message file to be used for a given locale. A few aliases are defined below.
*
* Google locale inheritance rules: https://goto.google.com/ccssm
* CLDR language aliases: https://www.unicode.org/cldr/charts/latest/supplemental/aliases.html
*/

/** @typedef {Record<string, {message: string}>} LocaleMessages */

// The keys within this const must exactly match the LH.Locale type in externs.d.ts
Expand Down Expand Up @@ -48,6 +55,7 @@ const locales = {
'iw': require('./he.json'), // Alias of 'he'
'ja': require('./ja.json'),
'ko': require('./ko.json'),
'ln': require('./fr.json'), // Alias of 'fr'
'lt': require('./lt.json'),
'lv': require('./lv.json'),
'mo': require('./ro.json'), // Alias of 'ro'
Expand Down

0 comments on commit 65be62a

Please sign in to comment.