LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-17-2018, 03:18 PM   #16
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 9,483

Rep: Reputation: 991Reputation: 991Reputation: 991Reputation: 991Reputation: 991Reputation: 991Reputation: 991Reputation: 991

You're on Slackware? So am I. Here they are
Code:
bash-4.4$ cd /var/lib/pkgtools/packages
bash-4.4$ grep en_GB.utf8 glibc*
glibc-i18n-2.27_multilib-x86_64-4alien:usr/lib/locale/en_GB.utf8/
glibc-i18n-2.27_multilib-x86_64-4alien:usr/lib/locale/en_GB.utf8/LC_ADDRESS
glibc-i18n-2.27_multilib-x86_64-4alien:usr/lib/locale/en_GB.utf8/LC_COLLATE
glibc-i18n-2.27_multilib-x86_64-4alien:usr/lib/locale/en_GB.utf8/LC_CTYPE
glibc-i18n-2.27_multilib-x86_64-4alien:usr/lib/locale/en_GB.utf8/LC_IDENTIFICATION
glibc-i18n-2.27_multilib-x86_64-4alien:usr/lib/locale/en_GB.utf8/LC_MEASUREMENT
glibc-i18n-2.27_multilib-x86_64-4alien:usr/lib/locale/en_GB.utf8/LC_MESSAGES/
glibc-i18n-2.27_multilib-x86_64-4alien:usr/lib/locale/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES
glibc-i18n-2.27_multilib-x86_64-4alien:usr/lib/locale/en_GB.utf8/LC_MONETARY
glibc-i18n-2.27_multilib-x86_64-4alien:usr/lib/locale/en_GB.utf8/LC_NAME
glibc-i18n-2.27_multilib-x86_64-4alien:usr/lib/locale/en_GB.utf8/LC_NUMERIC
glibc-i18n-2.27_multilib-x86_64-4alien:usr/lib/locale/en_GB.utf8/LC_PAPER
glibc-i18n-2.27_multilib-x86_64-4alien:usr/lib/locale/en_GB.utf8/LC_TELEPHONE
glibc-i18n-2.27_multilib-x86_64-4alien:usr/lib/locale/en_GB.utf8/LC_TIME
glibc-i18n-2.27_multilib-x86_64-4alien:usr/lib64/locale/en_GB.utf8/
glibc-i18n-2.27_multilib-x86_64-4alien:usr/lib64/locale/en_GB.utf8/LC_ADDRESS
glibc-i18n-2.27_multilib-x86_64-4alien:usr/lib64/locale/en_GB.utf8/LC_COLLATE
glibc-i18n-2.27_multilib-x86_64-4alien:usr/lib64/locale/en_GB.utf8/LC_CTYPE
glibc-i18n-2.27_multilib-x86_64-4alien:usr/lib64/locale/en_GB.utf8/LC_IDENTIFICATION
glibc-i18n-2.27_multilib-x86_64-4alien:usr/lib64/locale/en_GB.utf8/LC_MEASUREMENT
glibc-i18n-2.27_multilib-x86_64-4alien:usr/lib64/locale/en_GB.utf8/LC_MESSAGES/
glibc-i18n-2.27_multilib-x86_64-4alien:usr/lib64/locale/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES
glibc-i18n-2.27_multilib-x86_64-4alien:usr/lib64/locale/en_GB.utf8/LC_MONETARY
glibc-i18n-2.27_multilib-x86_64-4alien:usr/lib64/locale/en_GB.utf8/LC_NAME
glibc-i18n-2.27_multilib-x86_64-4alien:usr/lib64/locale/en_GB.utf8/LC_NUMERIC
glibc-i18n-2.27_multilib-x86_64-4alien:usr/lib64/locale/en_GB.utf8/LC_PAPER
glibc-i18n-2.27_multilib-x86_64-4alien:usr/lib64/locale/en_GB.utf8/LC_TELEPHONE
glibc-i18n-2.27_multilib-x86_64-4alien:usr/lib64/locale/en_GB.utf8/LC_TIME
They are in the glibc-i189n package, but I would point out 3 Things
  1. The Standard slackware64 package only puts files in /usr/lib64, and the standard 32bit package only puts them in /usr/lib. I have Alien Bob's multilib package from slackware.com with both of them.
  2. Linux is case sensitive, and it's en_GB.utf8, not en_GB.UTF8
  3. If you're on 14.2, it's /var/log/packages holds the packages. I think you're somewhere in between, IIRC

do an 'upgradepkg --install-new /path/to/glibc*.txz' from your copy of the dvd. If you have 64bit, and your package is 32bit install the compat32 packages, along with the half a dozen or so that have to be replaced (mainly glibc and gcc stuff).

I think you've already been given a good idea how to set up locales
 
1 members found this post helpful.
Old 10-18-2018, 02:42 AM   #17
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 1,137
Blog Entries: 1

Rep: Reputation: Disabled
On of possible solution (hope it will work) from 'man locale': "The following example compiles a custom locale from the ./wrk directory with the localedef(1) utility under the $HOME/.locale directory, then tests the result with the date(1) command, and then sets the environment variables LOCPATH and LANG in the shell profile file so that the custom locale will be used in the subsequent user sessions:
Code:
$ mkdir -p $HOME/.locale
$ I18NPATH=./wrk/ localedef -f UTF-8 -i fi_SE $HOME/.locale/fi_SE.UTF-8
$ LOCPATH=$HOME/.locale LC_ALL=fi_SE.UTF-8 date
$ echo "export LOCPATH=\$HOME/.locale" >> $HOME/.bashrc$ localedef -v -c -i en_GB -f UTF-8  ~/en_GB.utf8
$ echo "export LANG=fi_SE.UTF-8" >> $HOME/.bashrc
"

Last edited by igadoter; 10-18-2018 at 03:41 AM.
 
Old 10-18-2018, 03:45 AM   #18
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 1,137
Blog Entries: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by przemo View Post
Code:
localedef -v -c -i en_GB -f UTF-8 en_GB.UTF-8
Do you mean
Code:
# localedef ...
or
Code:
$ localedef ...
?
 
Old 10-21-2018, 11:57 AM   #19
przemo
Member
 
Registered: Feb 2016
Location: cork.ie
Distribution: Slackware-current
Posts: 118

Original Poster
Rep: Reputation: Disabled
i had reinstalled system 14.2 problem solved (i've messed up 14.2 with current)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Localization in WSN asouma Linux - Newbie 0 09-25-2011 12:08 PM
Localization - please help igadoter Slackware 4 09-09-2010 11:15 AM
Localization in linux pramod101 Linux - Newbie 2 12-28-2008 01:45 AM
Tcsh and localization Karu Slackware 4 09-18-2007 01:13 AM
localization sandeepps4 Linux - General 1 06-05-2007 02:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:24 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration