public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jörg Schaible" <joerg.schaible@gmx.de>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: LINGUAS issue
Date: Thu, 12 Nov 2015 19:21:17 +0100	[thread overview]
Message-ID: <n22lat$9ph$2@ger.gmane.org> (raw)
In-Reply-To: CAHH9eM7opTxpeCfyd00ghaDQSY7xqRhhRxstUJhsrOuOCuEHbg@mail.gmail.com

Hi Francisco,

Francisco Ares wrote:

> Hi, all.
> 
> My locale language is "pt_BR" (Brazilian Portuguese), and many
> applications now support native translations.
> 
> And there is the "pt" possible LINGUAS entry, and there is no "pt_PT"
> (Portugal spoken Portuguese), for instance, neither any derivatives for
> other Portuguese speaking countries, which possibly have their own
> regional differences.
> 
> There are a few applications that do not distinguish "pt_BR" from "pt" and
> treat Portuguese language as simply "pt". An example is the OCR program
> "tesseract", that builds language specifics according to the LINGUAS
> environment variable.
> 
> Is there a way for specifying particular "LINGUAS" for individual
> packages?  I would not like to have to build dozens of applications to
> include "pt" to my "LINGUAS" definition just to have "tesseract" to
> include
> my native language support.  I've found some old messages about this on
> the net, but did not get any real solution.
> 
> Or should I ask the "tesseract" package maintainer to add "pt_BR" to the
> available options?

You can set this individually for every package. My LINGUAS is set to "en" 
only (I hate localized man pages), but I have entries in my package.use file 
to turn on linguas individually. e.g.:

app-office/libreoffice-l10n linguas_de linguas_en_GB linguas_fr offlinehelp


Cheers,
Jörg



  reply	other threads:[~2015-11-12 18:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-12 17:20 [gentoo-user] LINGUAS issue Francisco Ares
2015-11-12 18:21 ` Jörg Schaible [this message]
2015-11-12 18:21 ` Florian Gamböck
2015-11-12 18:27 ` wabenbau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='n22lat$9ph$2@ger.gmane.org' \
    --to=joerg.schaible@gmx.de \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox