ULX

Author Topic: Changing language of MOTD  (Read 1882 times)

0 Members and 1 Guest are viewing this topic.

Offline Lolomat

  • Newbie
  • *
  • Posts: 24
  • Karma: 0
Changing language of MOTD
« on: August 12, 2014, 12:26:47 PM »
Hey Folks,

i just wanted to ask, how i can set the language of the browser inside the MOTD to German.
Some websites are asking for the browser language and I want that the answer to the sites is German.

Greets,
Lolomat

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Changing language of MOTD
« Reply #1 on: August 12, 2014, 10:01:59 PM »
The HTML in the motd we provide has nothing to do with ULX as a whole.
You'd need to teach yourself how to use HTML (or other web formats (CSS/XHTML/etc) and edit/create any site or motd file you wanted.
See http://www.w3.org/International/tutorials/language-decl/ for how to do it in html.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Lolomat

  • Newbie
  • *
  • Posts: 24
  • Karma: 0
Re: Changing language of MOTD
« Reply #2 on: August 13, 2014, 09:16:24 AM »
I want that the Website i call over the MOTD uses German as language.
For example:
If your browsers language is set to English and you visit facebook.com, facebook will show you the English version of it.
But if you set the language of your browser to German, facebook will come up with the German version of facebook. And i need a line of code which defines German as the browser language. I am not using HTML inside the MOTD, i set a website which opens up.


Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Changing language of MOTD
« Reply #3 on: August 13, 2014, 09:33:20 PM »
Not sure Gmod HTML browser will do this.
If it can, it's beyond my experience and time to learn.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming