Global Settings - some values not translated

Hi,

some new values in global settings will not be interpreted/translated.
Example:
global settings - webui - style - title_image
global settings - system - server - web_ui

they came with last updates
do i have to run a i18n compiler manually, or do i miss some packages to get it to run.
Not sure what to do

Hi @SourceDoctor

Try running :
./lnms vue-i18n:generate
followed by
npm run production

That will regenerate the app.js file that does the actual translation.

ok …
lnms runs without problems …

so i installed npm on Debian Buster
nodejs version: 10.15.2
npm version 5.8.0
but npm run production fails (which is one of the reasons i dont like nodejs :wink: )

npm WARN npm npm does not support Node.js v10.15.2
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can’t make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.
npm WARN npm You can find the latest version at https://nodejs.org/

@ production /opt/librenms
cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js

sh: 1: cross-env: not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! @ production: cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the @ production script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2019-11-03T13_07_31_239Z-debug.log

had the same issue on my ubuntu. Try to install cross-env and it my be enough.

ok
under Debian Buster:

apt-get install npm
npm install cross-env enhanced-resolve

helps to run sucessfully npm run production