need to use romanian chars in wine. under KDE all is fine, with romanian and english languages, keyboard layout "winkeys", i can switch between english an romanian. but under wine i don't have romanian language. how can i fix that ? -- George Enescu 16/13 Hunedoara mobil: 0720301842 tel. : 0354401534
On Monday November 12 2007 05:38, Romeo Petruca wrote:> need to use romanian chars in wine. > under KDE all is fine, with romanian and english languages, keyboard > layout "winkeys", i can switch between english an romanian. > but under wine i don't have romanian language. > how can i fix that ?Please post terminal output from these command: locale-gen locale Thank you for using WINE.
Don't forget to answer to the mailing list so others can see the discussion. On Tuesday November 13 2007 16:20, Romeo Petruca wrote:> answer to locale-gen command > > bash: locale-gen: command not foundYou need execute it as root. For example: su /usr/sbin/locale-gen If you really don't have locale-gen then you should fix this. Make sure that you have Romanian locale in /etc/locale.gen .> answer to locale command: > > LANG=en_US.UTF-8 > LC_CTYPE="en_US.UTF-8" > LC_NUMERIC="en_US.UTF-8" > LC_TIME="en_US.UTF-8" > LC_COLLATE="en_US.UTF-8" > LC_MONETARY="en_US.UTF-8" > LC_MESSAGES="en_US.UTF-8" > LC_PAPER="en_US.UTF-8" > LC_NAME="en_US.UTF-8" > LC_ADDRESS="en_US.UTF-8" > LC_TELEPHONE="en_US.UTF-8" > LC_MEASUREMENT="en_US.UTF-8" > LC_IDENTIFICATION="en_US.UTF-8" > LC_ALLAccordingly to your locale settings you will be able to use only English input in WINE with English UI. Therefore you need to fix your locale configuration. You need to change LC_ALL to Romanian locale. If you want to keep English interface then don't touch LC_ALL and change LC_CTYPE only. Make sure that your locale has been generated successfully with locale-gen before trying to assign it. If you don't know how to setup your locale configuration refer to documentation for your distribution. If you need more help please tell me what distribution you are using. Thank you for using WINE.
Don't forget to answer to the mailing list so others can see the discussion. On Wednesday November 14 2007 10:17, Romeo Petruca wrote:> On Nov 13, 2007 6:55 PM, L. Rahyen <research at science.su> wrote: > > If you don't know how to setup your locale configuration refer to > > documentation for your distribution. > > If you need more help please tell me what distribution you are > > using. > > sorry to forget, i'm using fedora 8 2.6.23.1-42.fc8Please read http://wiki.archlinux.org/index.php/Locale in order to understand how to setup your locale properly. This howto should work for Fedora too. Of course you need to setup Romanian locale not en_US.UTF-8. As I have said before you need to change LC_CTYPE only if you want Romanian input in WINE with English GUI. If for some reason you still have problems then make sure that you have Romanian locale: locale -a If you have it in the list then make sure that it is assigned to (at least) LC_CTYPE by running: locale Thank you for using WINE.
On Wednesday November 14 2007 15:46, Romeo Petruca wrote:> finaly i get that: > > > $locale > > LANG=en_US.UTF-8 > LC_CTYPE="en_US.UTF-8" > LC_NUMERIC="en_US.UTF-8" > LC_TIME="en_US.UTF-8" > LC_COLLATE="en_US.UTF-8" > LC_MONETARY="en_US.UTF-8" > LC_MESSAGES="en_US.UTF-8" > LC_PAPER="en_US.UTF-8" > LC_NAME="en_US.UTF-8" > LC_ADDRESS="en_US.UTF-8" > LC_TELEPHONE="en_US.UTF-8" > LC_MEASUREMENT="en_US.UTF-8" > LC_IDENTIFICATION="en_US.UTF-8" > LC_ALL> > > $localdef -f ro_RO.ISO-8859-2 -i ro_RO --force --verbose > /usr/lib/locale/ro_RO.ISO-8859-2 > $export LANG=ro_RO.ISO-8859-2 > $locale > > LANG=ro_RO.ISO-8859-2 > LC_CTYPE="ro_RO.ISO-8859-2" > LC_NUMERIC="ro_RO.ISO-8859-2" > LC_TIME="ro_RO.ISO-8859-2" > LC_COLLATE="ro_RO.ISO-8859-2" > LC_MONETARY="ro_RO.ISO-8859-2" > LC_MESSAGES="ro_RO.ISO-8859-2" > LC_PAPER="ro_RO.ISO-8859-2" > LC_NAME="ro_RO.ISO-8859-2" > LC_ADDRESS="ro_RO.ISO-8859-2" > LC_TELEPHONE="ro_RO.ISO-8859-2" > LC_MEASUREMENT="ro_RO.ISO-8859-2" > LC_IDENTIFICATION="ro_RO.ISO-8859-2" > LC_ALL> > and all is OK ! > > but after restart i get: > > $locale > > LANG=en_US.UTF-8 > LC_CTYPE="en_US.UTF-8" > LC_NUMERIC="en_US.UTF-8" > LC_TIME="en_US.UTF-8" > LC_COLLATE="en_US.UTF-8" > LC_MONETARY="en_US.UTF-8" > LC_MESSAGES="en_US.UTF-8" > LC_PAPER="en_US.UTF-8" > LC_NAME="en_US.UTF-8" > LC_ADDRESS="en_US.UTF-8" > LC_TELEPHONE="en_US.UTF-8" > LC_MEASUREMENT="en_US.UTF-8" > LC_IDENTIFICATION="en_US.UTF-8" > LC_ALL> > how can i make my modification permanent ?If you are using bash you need to edit your /etc/bash.bashrc; for example you can add these lines at the end of /etc/bash.bashrc: export LANG=ro_RO.ISO-8859-2 export LC_ALL=ro_RO.ISO-8859-2 Thank you for using WINE.