Translator

* Questions, answers and templates about scripting
* Fragen, Antworten und Beispiele zum Scripting

Re: Translator

Beitragvon Emil_Jannings » Sa 22. Aug 2015, 19:04

Translate to English translate to German Translate to French Translate to Italian Translate to Spanish Translate to Portuguese Translate to Czech Перевести на русский язык 翻译成中国

Thank you Magnuz -- you do a service for the whole Metro community.

Emil
Benutzeravatar
Emil_Jannings
 
Beiträge: 92
Registriert: Do 14. Feb 2013, 20:58
Wohnort: Chicago USA

Translator problem and solution

Beitragvon Magnuz Binder » Di 12. Apr 2016, 10:58

Translate to English translate to German Translate to French Translate to Italian Translate to Spanish Translate to Portuguese Translate to Czech Перевести на русский язык 翻译成中国

It seems more and more people are using this translator, since it for the first time I'm aware of ran out of quota (2 Mbyte/month free from the Microsoft Bing API) during the Metropolis parliament session 2016-04-09 21:22 UTC. The quota will be refreshed 2016-04-21, but until then the translator will only return the original text and no translations.

However, Cloneu Inglewood of Lost Paradise Grid has been so generous he has set up a new public backend for the language translator. You can switch to it by changing the URL last in the translator description, from "http://5.9.108.75/cgi-bin/xl.sh" (without quotes) to "http://158.69.242.69/cgi-bin/xl.sh" (without quotes, and make sure you don't lose the preceding ";") and reset the translator from its dialog. If you want to switch back when the old backend resumes working at 2016-04-21, you just change the URL back to "http://5.9.108.75/cgi-bin/xl.sh" (without quotes) and reset the translator again.

Sorry for the inconvenience, but a big thank you to Cloneu Inglewood for helping out solving this problem.
Benutzeravatar
Magnuz Binder
 
Beiträge: 286
Registriert: Fr 22. Feb 2013, 21:01
Wohnort: Stockholm, Sweden

New translator version

Beitragvon Magnuz Binder » Mi 13. Apr 2016, 23:35

Translate to English translate to German Translate to French Translate to Italian Translate to Spanish Translate to Portuguese Translate to Czech Перевести на русский язык 翻译成中国

Because of the backend of the translator by Magnuz Binder ran out of quota, but Cloneu Inglewood of Lost Paradise Grid was kind enough to set up an alternative backend, the translator has now been updated so it can handle several backends semi-automatic, plus a bug where on/off status wasn't kept on resets was fixed, and the script was tidied up some in general.

There is now an option "Backend" in the settings dialog for the script, where you can chose between available backends. The list of backends is read from a file at http://binders.world/xl/backends.txt, where available backends are listed, temporarily down backends are commented out, and permanently down backends will be removed. If the translator is configured with a backend not available, the translator will automatically switch to the first available backend on the list when reset.

Unfortunately, this makes the server binders.world a single point of failure for the translator, but it has been all the time anyway. However, if anyone wants to be independent of this, they can put up an own list and change a parameter in the translator script (xl_backends_url) to point at it.

The updated script (v0.05) is available at opensim-scripting/translator-t4005.html#p26003 (you can replace the contents of the old script "XL1" in the translator with it) and the complete, updated translator (v0.05) is available in-world at hypergrid.org:8002:media as before (the small translator panel under the big rotating translator sign at the edge of the parking deck).
Benutzeravatar
Magnuz Binder
 
Beiträge: 286
Registriert: Fr 22. Feb 2013, 21:01
Wohnort: Stockholm, Sweden

Vorherige

Zurück zu Scripting

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast



Powered by phpBB

Deutsche Übersetzung durch phpBB.de
.

Style designed by Artodia.