Unable to compile czech localization for eg2 in 3.9.0 tarball
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
High
|
Unassigned |
Bug Description
Due to missing czech localization in EG2 part of staff client is needed to compile cs-CZ localization manualy.
System is based on Ubuntu 20.04 LTS, OpenSRF is installed from git clone, Evergreen ILS is installed from tarball 3.9.0 with developer additions (chapter 3.3 in manual) and chapter 4 for web staff client.
Translation is enabled in Open-ILS/
During compilation of czech translation
$ cd Open-ILS/src/eg2
$ npm run build-cs-CZ
are reported following errors
# npm run build-cs-CZ
> eg@0.0.0 build-cs-CZ /home/vagojan/
> ng build --configuration
Locale data for 'cs-CZ' cannot be found. Using locale data for 'cs'.
WARNING [src/locale/
✔ Browser application bundle generation complete.
✔ Localized bundle generation complete.
✔ Copying assets complete.
⠋ Generating index html...1 rules skipped due to selector errors:
.custom-
✔ Index html generation complete.
...
Build at: 2022-07-
sed: can't read ../../web/
sed: can't read ../../web/
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! eg@0.0.0 build-cs-CZ: `ng build --configuration
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the eg@0.0.0 build-cs-CZ script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.
in NPM log is
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/
2 info using npm@6.14.15
3 info using <email address hidden>
4 verbose run-script [ 'prebuild-cs-CZ', 'build-cs-CZ', 'postbuild-cs-CZ' ]
5 info lifecycle eg@0.0.
6 info lifecycle eg@0.0.
7 verbose lifecycle eg@0.0.
8 verbose lifecycle eg@0.0.
9 verbose lifecycle eg@0.0.
10 silly lifecycle eg@0.0.
10 silly lifecycle '-c',
10 silly lifecycle 'ng build --configuration
10 silly lifecycle ]
11 silly lifecycle eg@0.0.
12 info lifecycle eg@0.0.
13 verbose stack Error: eg@0.0.0 build-cs-CZ: `ng build --configuration
13 verbose stack Exit status 2
13 verbose stack at EventEmitter.
13 verbose stack at EventEmitter.emit (events.js:400:28)
13 verbose stack at ChildProcess.
13 verbose stack at ChildProcess.emit (events.js:400:28)
13 verbose stack at maybeClose (internal/
13 verbose stack at Process.
14 verbose pkgid eg@0.0.0
15 verbose cwd /home/vagojan/
16 verbose Linux 5.4.0-122-generic
17 verbose argv "/usr/local/
18 verbose node v14.18.1
19 verbose npm v6.14.15
20 error code ELIFECYCLE
21 error errno 2
22 error eg@0.0.0 build-cs-CZ: `ng build --configuration
22 error Exit status 2
23 error Failed at the eg@0.0.0 build-cs-CZ script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 2, true ]
So we are not able to compile and use localized EG2 Angular staff client.
We used the same steps in 3.7 branch without any issue. But with 3.9.0 tarball we are not able to finish it. Directory with localization is not created.
tags: | added: i18n |
tags: | added: install-upgrade |
Changed in evergreen: | |
assignee: | nobody → Galen Charlton (gmc) |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
In other words, steps referenced in the description of another bug - https:/ /bugs.launchpad .net/evergreen/ +bug/1967950 - have not led to the desired result, i.e., having the eg2 part of the staff client localized into Czech.