Localization for Angular translations
authorTerran McCanna <tmccanna@georgialibraries.org>
Fri, 14 Jan 2022 17:25:47 +0000 (12:25 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Sat, 19 Nov 2022 20:09:03 +0000 (15:09 -0500)
This change allows us to translate the dropdowns that are
controlled in the Angular interfaces.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Open-ILS/src/eg2/src/environments/environment.prod.ts

index 2a7293d..f8827a5 100644 (file)
@@ -2,10 +2,5 @@ export const environment = {
   production: true,
   // TODO: a way to pass these in at build time.
   // locales: ['en-US', 'fr-CA', 'cs-CZ']
-  // FIXME: The language selector in the Angular staff
-  //        client's navbar goes strictly by the list
-  //        here, but that's not ideal: the list of localizations
-  //        shipped with Evergreen (and maybe pre-built) aren't
-  //        necessarily the list you want to turn on.
-  locales: ['en-US']
+  locales: ['en-US','es-ES']
 };