Re: Change of calendar language
2003-09-01 02:27:01 GMT
John Beranek <john <at> redux.org.uk> wrote:
Vidar.Kristoffersen <at> sas.no wrote:
> Hi! Does any one know how to change the calendar language, such as
> days and months in the days, week and months view.
The best way is to have the clients' web browsers configured correctly.
Everytime a web browser fetches a page it tells the server what language
you'd prefer to read, which is configurable in the web browser. In IE
it's in "Internet Options", "General" tab, button marked "Languages" at
the bottom. So, if you put (say) German at the top of your language
perferences, and MRBS has a German language file installed, MRBS will be
shown in German. (You can do the same in Mozilla,
Preferences->Navigator->Languages, or in any other worthy browser).
If you don't like this solution, you can hard code the language in
config.inc if you really must, just change the line:
$locale = ereg_replace(",.*", "", getenv('HTTP_ACCEPT_LANGUAGE'));
to
$locale = "de-de";
(for German)
or any other valid Web browser style language specifier, like "no" for
Norway.
John.
--
John Beranek To generalise is to be an idiot.
http://redux.org.uk/ -- William Blake
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
mrbs-general mailing list
mrbs-general <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mrbs-general
Yahoo! Mobile
- Send free SMS from your PC!
RSS Feed