LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-09-2004, 05:16 PM   #1
SlackwareMan
Member
 
Registered: Jul 2004
Distribution: Slackware 10
Posts: 120

Rep: Reputation: 15
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
 
Old 08-09-2004, 05:40 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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
 
Old 08-09-2004, 05:55 PM   #3
SlackwareMan
Member
 
Registered: Jul 2004
Distribution: Slackware 10
Posts: 120

Original Poster
Rep: Reputation: 15
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
 
Old 08-09-2004, 05:59 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Assuming you're using bash - edit

/etc/profile.d/lang.sh


Cheers,
Tink
 
Old 08-09-2004, 06:17 PM   #5
SlackwareMan
Member
 
Registered: Jul 2004
Distribution: Slackware 10
Posts: 120

Original Poster
Rep: Reputation: 15
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
 
Old 08-09-2004, 06:39 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Good grief mate, everything but two lines are
comments.

I'm sure you can figure that out yourself.


Shalom,
Tink
 
Old 08-09-2004, 06:55 PM   #7
SlackwareMan
Member
 
Registered: Jul 2004
Distribution: Slackware 10
Posts: 120

Original Poster
Rep: Reputation: 15
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
 
Old 08-09-2004, 06:59 PM   #8
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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
 
Old 08-10-2004, 04:36 PM   #9
SlackwareMan
Member
 
Registered: Jul 2004
Distribution: Slackware 10
Posts: 120

Original Poster
Rep: Reputation: 15
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
 
Old 08-10-2004, 04:53 PM   #10
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
How about
en_US.utf8
?


Cheers,
Tink
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to add Hebrew support in fresh Slackware 10.0 installation? yonatan1 Slackware 8 10-04-2005 03:36 PM
No hebrew at all in sarge fazaman Debian 3 04-27-2005 11:30 AM
lightweight file browser that can work with hebrew CatBreath Linux - Software 2 09-06-2004 10:13 AM
file permissions and file owner won't change Nadim Slackware 5 11-29-2003 06:03 PM
Looking for Hebrew dictionary alexaltair Linux - Software 1 09-10-2003 02:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration