September 21, 2023, 10:11:25 PM
Welcome, Guest. Please login or register
News: Join us for a FREE Webinar this Thursday at http://webinar.digitalsignage.com

MediaSignage support forum



Author Topic: Redirect language on Studiolite  (Read 5943 times)

ConstantinDS4E

  • Jr. Member
  • **
  • Posts: 21
  • Karma: +0/-0
Redirect language on Studiolite
« on: June 21, 2017, 02:43:13 AM »
Hi,
We installed StudioLite on our server and we find this issue with language. When we change "local-selector.ts" to redirect to our server. It doesn't work.
How we can redirect successfully ? because right now StudioLite when we press another language it loads a page blank.

Regards,
Constantin

admin

  • Administrator
  • Hero Member
  • *****
  • Posts: 5180
  • Karma: +36/-8
Re: Redirect language on Studiolite
« Reply #1 on: June 21, 2017, 06:00:41 AM »
you will need to regenerate all the languages locally as each language is its own set of web pages (complete copy).
checkout the npm scripts for steps to be taken.

ConstantinDS4E

  • Jr. Member
  • **
  • Posts: 21
  • Karma: +0/-0
Re: Redirect language on Studiolite
« Reply #2 on: July 10, 2017, 03:36:50 AM »
Could you explain a little more detailed.

We want users to press the language flag to automatically change language, because right now redirect to your servers.

admin

  • Administrator
  • Hero Member
  • *****
  • Posts: 5180
  • Karma: +36/-8
Re: Redirect language on Studiolite
« Reply #3 on: July 10, 2017, 07:55:36 AM »
you will need to generate your own language files, you can checkout the way we do it and use a similar process.
we run translate.js in the root of the project.
so you can use the same script, just edit it and provide a source for a translation service.
once all files have been generated you can host it normally on your site (you may just need to edit the linked paths per language selected) and that's it.

regards

 

Carbonate design by Bloc
variant: carbon
SMF 2.0.12 | SMF © 2016, Simple Machines