MeshCentral: customized handlebars files can not be translated
modifying views for a domain in meshcentral-web or meshcentral-web-domain2 do only work for language = en
The translation tool seems to not pick up these modified files and does not translate.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 40 (9 by maintainers)
HUH? 😕
will try have a look tonight/2moz, as i havent changed anything for the translate since https://github.com/Ylianst/MeshCentral/pull/6027
so if you renamed the file to
.backupand its translating ok BUT then rename your file back and its NOT translating ok, then the is something wrong in your fileits going to be very hard to work out what its not working?
if your happy to, email me the file and ill have a quick dig https://github.com/si458 -> email on left!
ok ive merged the PR, which means you create your files
default.handlebars, login2.handlebars, etcin yourviewsfolder, then you can runnode node_modules/meshcentral --translateand let it translate/minify all your files! you can also usehttps://MYMESHSERVER.COM/translator.htm, edit translations, thensave to serverand run the--translatecommand (DONT USE THETRANSLATE SERVERBUTTON IN THE WEB UI!) im still looking into the button as it only translates the defaultviewsfolder inside meshcentral and not yourwebfolders you create