LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   can change file name to hebrew in slackware 10 really need help .... (https://www.linuxquestions.org/questions/linux-newbie-8/can-change-file-name-to-hebrew-in-slackware-10-really-need-help-215513/)

SlackwareMan 08-09-2004 05:16 PM

can change file name to hebrew in slackware 10 really need help ....
 
o.k its like that
when i want to change some file name to hebrew i hit on rename this file and write the name that i want to give him and when i hit enter i get it like that
???? ?? ???
and i really need hebrew in files and my partition is to linux NOT windows
i don't use windows
and my locale is that
and i don't really sure what is locale i just write locale in konsol and thats what i get
Code:

root@slackware:~# locale
LANG=en_US
LC_CTYPE="en_US"
LC_NUMERIC="en_US"
LC_TIME="en_US"
LC_COLLATE=C
LC_MONETARY="en_US"
LC_MESSAGES="en_US"
LC_PAPER="en_US"
LC_NAME="en_US"
LC_ADDRESS="en_US"
LC_TELEPHONE="en_US"
LC_MEASUREMENT="en_US"
LC_IDENTIFICATION="en_US"
LC_ALL=

hope you can help fix it ...
thanks all
Roy

Tinkster 08-09-2004 05:40 PM

Well ... I've never used a hebrew setup, but I'd have
a play with the locale settings, en_US is almost certainly
not going to be able to accommodate what you want, try
he_IL or iw_IL (not that I know what either of them do
or look like, mind you ... ).


Cheers,
Tink

SlackwareMan 08-09-2004 05:55 PM

re
 
i sure about what you say but i don't know how to change it ..
can you please help me with that?

thanks
Roy

Tinkster 08-09-2004 05:59 PM

Assuming you're using bash - edit

/etc/profile.d/lang.sh


Cheers,
Tink

SlackwareMan 08-09-2004 06:17 PM

re
 
i really don't know what to change in their can you help me with that please ?
i write in konsole this
"pico /etc/profile.d/lang.sh"
and i got all this text

Code:

#!/bin/sh
# Set the system locale.  (no, we don't have a menu for this ;-)
# For a list of locales which are supported by this machine, type:
#  locale -a

# en_US is the Slackware default locale:
export LANG=en_US

# 'C' is the old Slackware (and UNIX) default, which is 127-bit
# ASCII with a charmap setting of ANSI_X3.4-1968.  These days,
# it's better to use en_US or another modern $LANG setting to
# support extended character sets.
#export LANG=C

# There is also support for UTF-8 locales, but be aware that
# some programs are not yet able to handle UTF-8 and will fail to
# run properly.  In those cases, you can set LANG=C before
# starting them.  Still, I'd avoid UTF unless you actually need it.
#export LANG=en_US.UTF-8

# Another option for en_US:
#export LANG=en_US.ISO8859-1

# One side effect of the newer locales is that the sort order
# is no longer according to ASCII values, so the sort order will
# change in many places.  Since this isn't usually expected and
# can break scripts, we'll stick with traditional ASCII sorting.
# If you'd prefer the sort algorithm that goes with your $LANG
# setting, comment this out.
export LC_COLLATE=C

# End of /etc/profile.d/lang.sh

can you help me and tell me what i need to change please ?

hope you can
Roy

Tinkster 08-09-2004 06:39 PM

Good grief mate, everything but two lines are
comments.

I'm sure you can figure that out yourself.


Shalom,
Tink

SlackwareMan 08-09-2004 06:55 PM

re
 
but i already vhange it before i ask
look i change it like that

Code:

#!/bin/sh
# Set the system locale.  (no, we don't have a menu for this ;-)
# For a list of locales which are supported by this machine, type:
#  locale -a

# he_IL is the Slackware default locale:
export LANG=he_IL

# 'C' is the old Slackware (and UNIX) default, which is 127-bit
# ASCII with a charmap setting of ANSI_X3.4-1968.  These days,
# it's better to use en_US or another modern $LANG setting to
# support extended character sets.
#export LANG=C

# There is also support for UTF-8 locales, but be aware that
# some programs are not yet able to handle UTF-8 and will fail to
# run properly.  In those cases, you can set LANG=C before
# starting them.  Still, I'd avoid UTF unless you actually need it.
#export LANG=en_US.UTF-8

# Another option for en_US:
#export LANG=he_IL.UTF-8

# One side effect of the newer locales is that the sort order
# is no longer according to ASCII values, so the sort order will
# change in many places.  Since this isn't usually expected and
# can break scripts, we'll stick with traditional ASCII sorting.
# If you'd prefer the sort algorithm that goes with your $LANG
# setting, comment this out.
export LC_COLLATE=C

# End of /etc/profile.d/lang.sh

and still is the same locale ...
i don't know how to countinue from here .. what i do wrong ?

hope you can help me ..
roy

Tinkster 08-09-2004 06:59 PM

Well ... that file is only being used/sourced when
you start a new (login) shell. Close the terminal you're
operating on, open a new one...

If all your xterminals are just sub-shells restart your
X-session.


Cheers,
Tink

SlackwareMan 08-10-2004 04:36 PM

hi evevrybody ..
 
hi evevrybody ...

after i do it right and look thets its right
Code:

root@slackware:~# locale
LANG=he_IL
LC_CTYPE="he_IL"
LC_NUMERIC="he_IL"
LC_TIME="he_IL"
LC_COLLATE=C
LC_MONETARY="he_IL"
LC_MESSAGES="he_IL"
LC_PAPER="he_IL"
LC_NAME="he_IL"
LC_ADDRESS="he_IL"
LC_TELEPHONE="he_IL"
LC_MEASUREMENT="he_IL"
LC_IDENTIFICATION="he_IL"
LC_ALL=

now all my software in hebrew ... i dont need it
i just want that when i write some file in hebrew it be good ... i want my linux will be in english

Hope you can help me
Roy

Tinkster 08-10-2004 04:53 PM

How about
en_US.utf8
?


Cheers,
Tink


All times are GMT -5. The time now is 03:17 AM.