HI All, I'm having problems setting the language settings. I'm using this fragment of XML that's being pulled in via a rule. (basically, import a custom file depending on which domain the client is in) This fragment was created by yast2 autoyast. I just added the <general>tags round it. <?xml version="1.0"?> <!DOCTYPE profile SYSTEM "/usr/share/autoinstall/dtd/profile.dtd"> <profile xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns"> <general> <keyboard> <keyboard_values> <capslock config:type="boolean">false</capslock> <delay></delay> <discaps config:type="boolean">false</discaps> <numlock></numlock> <rate></rate> <scrlock config:type="boolean">false</scrlock> <tty>tty1 tty2 tty3 tty4 tty5 tty6 tty8 tty9 tty10 tty11 tty12 tty13 tty14 tty15 tty16 tty17 tty18 tty19 tty20</tty> </keyboard_values> <keymap>english-uk</keymap> </keyboard> <language> <language>en_GB</language> <languages>en_US,en_GB</languages> </language> <timezone> <hwclock>UTC</hwclock> <timezone>Europe/London</timezone> </timezone> </general> </profile> However, the compleated system ends up with a US keyboard.... Interestingly, shortly after loading the xml fragment, the log file has 2006-08-17 17:01:55 <3> 192.168.21.139(3453) [Interpreter] Profile.ycp:118 Can't convert value '$["language":"en_GB", "languag es":"en_US,en_GB"]' to type 'string' in it. so, is it a bug, or user error ? ;-) -- Simon Crute IS&T Bracknell Novell UK Ltd
On Thursday 17 August 2006 18:09, Simon Crute wrote:
I'm having problems setting the language settings. I'm using this fragment of XML that's being pulled in via a rule. (basically, import a custom file depending on which domain the client is in) This fragment was created by yast2 autoyast. I just added the <general>tags round it.
why did you add the <general> element? Because that's the problem :) timezone,language,keyboard moved from <general> to the root <profile> element with 10.1. Compatibility code was added to assure backward compatibility but you have used the new syntax in the old style (<general> section) -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nuernberg, Germany Business: http://www.suse.de/~ug now playing Funker Vogt - Civil War (Vogt Scope Mix)
participants (2)
-
Simon Crute
-
Uwe Gansert