lesslinux.org Development Blog

Just another WordPress weblog

Automatic language detection

I just added automatic langauge detection, kind of small magic before an internet connection exists.

How does it work? Currently it searches for the last recently used NTUSER.DAT and reads the registry key “Control Panel\International\LocaleName” from there. Of course this requires a windows installation to be present. But since this feature is targeted at some commercial derivates of LessLinux that are sold as rescue systems in various European countries, probably 95% of computers where LessLinux is booted have a windows partition.

If you are booting LessLinux on a machine without windows you might specify


to skip the selection and predefine a certain locale. The old


only works for a limited subset of languages (German, English, Spanish, French, Polish, Russian, Italian, Netherlands).

Comments are closed.