LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-25-2017, 03:32 AM   #1
Reedych
Member
 
Registered: Jul 2016
Location: Earth
Distribution: Slackware64 14.2
Posts: 37

Rep: Reputation: Disabled
Post Esperanto in Slackware


If you are not an esperantist, I think it will not be very useful for you

What is Esperanto?

I made a package glibc-i18n-eo with UTF-8 esperanto support. I'm not pro in glibc and now i can not make better package. Not all apps are translated to esperanto and they will be in english.

For esperanto support, you need do two steps:
  1. Download the package from yandex-disk or from my repo
  2. Install it
  3. sudo nano /etc/profile.d/lang.sh
  4. Do this in the file: export LANG=eo_XX.UTF-8
  5. And do this: export LC_COLLATE=C
  6. Restart your computer

Done
 
Old 07-25-2017, 05:28 AM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1.2 on Lenovo Thinkpad W520
Posts: 9,431

Rep: Reputation: Disabled
Thanks for providing this package.

However, as is I wouldn't try it, because the source file (as a readable text) of the locale definition is not included in the package, thus it is impossible to check the compiled ones. Why not provide it (in /usr/share/i18n/locales as its siblings).

Also, why not submit this locale definition to the glibc project? That would certainly be useful.

Then consider setting the territory to a registered value instead of XX. As an example interlingua (whose aim is similar) has the locale definition /usr/share/i18n/locales.ia_FR.

For instance /usr/share/i18n/locales.eo_RU as well as usr/share/i18n/locales.eo_PL would be OK, but feel free to choose eo_KZ if you prefer

Last edited by Didier Spaier; 07-25-2017 at 05:40 AM.
 
Old 07-25-2017, 12:20 PM   #3
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1.2 on Lenovo Thinkpad W520
Posts: 9,431

Rep: Reputation: Disabled
More information about the Unicode Common Data Repository

The CLDR provides, among other things, locale definitions in an XML format as Releases/Downloads.

At time of writing the most recent release is tagged 31.0.1. In the main repo I see these locale definitions for Esperanto: eo.xml associated with this file.

Caveats:
  • This seems to be a draft, as you can see comparing it with kk.xml. Maybe that's why there is still no glibc version available (in POSIX format plus extensions)
  • It is in an XML format that needs to be converted to the format of the files in /usr/share/i18n/locales.
Maybe the tools that I have found here after deep digging can be useful. I didn't try them. Of course you will need java to compile then use them.

Good luck.

Last edited by Didier Spaier; 07-25-2017 at 12:32 PM.
 
Old 07-26-2017, 05:01 AM   #4
Reedych
Member
 
Registered: Jul 2016
Location: Earth
Distribution: Slackware64 14.2
Posts: 37

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Didier Spaier View Post
Thanks for providing this package.

However, as is I wouldn't try it, because the source file (as a readable text) of the locale definition is not included in the package, thus it is impossible to check the compiled ones. Why not provide it (in /usr/share/i18n/locales as its siblings).

Also, why not submit this locale definition to the glibc project? That would certainly be useful.

Then consider setting the territory to a registered value instead of XX. As an example interlingua (whose aim is similar) has the locale definition /usr/share/i18n/locales.ia_FR.

For instance /usr/share/i18n/locales.eo_RU as well as usr/share/i18n/locales.eo_PL would be OK, but feel free to choose eo_KZ if you prefer
This: https://pastebin.com/h7b5qyud?

Sorry, I'm noob in glibc and I built this locale using glibc slackbuild, but the whole glibc building has failed. In next 15.0 release i will make better package.
 
Old 07-26-2017, 06:31 AM   #5
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1.2 on Lenovo Thinkpad W520
Posts: 9,431

Rep: Reputation: Disabled
Well, I dug a little more and the locale definitions for esperanto (eo) are already included in the package glibc-i18n (version 2.25) now shipped in Slackware-current.

I assume that this package can safely replace the package shipped in Slackware version 14.2 but didn't check yet.

Anyway, thanks for bringing our attention to Esperanto.

Last edited by Didier Spaier; 07-26-2017 at 06:40 AM.
 
Old 07-27-2017, 02:31 AM   #6
Reedych
Member
 
Registered: Jul 2016
Location: Earth
Distribution: Slackware64 14.2
Posts: 37

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Didier Spaier View Post
Well, I dug a little more and the locale definitions for esperanto (eo) are already included in the package glibc-i18n (version 2.25) now shipped in Slackware-current.

I assume that this package can safely replace the package shipped in Slackware version 14.2 but didn't check yet.

Anyway, thanks for bringing our attention to Esperanto.
Wut? Really esperanto in vanilla 2.25? Thank you for inform.
 
  


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
Xmonad Esperanto michijo Slackware 1 04-29-2011 10:30 PM
Esperanto michijo Slackware 6 04-24-2011 11:41 AM
Where are the Esperanto dictionary on Linux? browny_amiga Linux - Software 3 04-23-2009 08:59 PM
anyone here know esperanto? microsoft/linux General 25 03-17-2006 02:39 AM
Entering esperanto mjjzf Linux - General 0 02-10-2006 12:02 PM

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

All times are GMT -5. The time now is 08:09 PM.

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