From: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
To: crossgcc@sourceware.org
Cc: Zhenqiang Chen <zhenqiang.chen@linaro.org>
Subject: Re: About native language support (nls)
Date: Wed, 16 Nov 2011 22:19:00 -0000 [thread overview]
Message-ID: <201111162319.07206.yann.morin.1998@anciens.enib.fr> (raw)
In-Reply-To: <CACgzC7DKN4bJhsPNsEBLb6fh8Svquj9PbDrBOS8xOm9ZN8krXg@mail.gmail.com>
Zhenqiang, All,
On Wednesday 16 November 2011 09:18:33 Zhenqiang Chen wrote:
> gcc and binutils disable nls. All other packages like gdb enable nls,
> which will give different user experience for different tools in the
> same toolchain.
>
> Here is the comment in do_cc on why nls is disabled,
> # --disable-nls to work around crash bug on ppc405, but also because
> # embedded systems don't really need message catalogs...
Yes, this comment is probably wrong. It dates back to the early days of
crosstool-NG, even the original crosstool had it:
https://code.google.com/p/crosstool/source/browse/trunk/src/crosstool.sh#857
It might be possible to enable NLS, indeed. I never ever tried, because
I prefer to rely onthe original messages rather than their translations
(mostly because I'm used to the vocabulary used in english, and because
the french translation tend to be a little bit funky!).
> But I think we'd provide a config for users to enable nls and for
> cross and canadian build, the message is still useful, especially for
> CJK users.
I'm not an expert in i18n, so I gues CJK is Chinese-Japanese-Korean, right?
- if that's because it's a different alphabet, CJK is not special; other
languages use different alphabets: arabic, greek...
- if that's because it's a right-to-left script, then CJK is not special
either; other languages are also R2L: arabic (the only I know of, but
undoubtly others).
So, I believe it could also make non-CJK users very happy! ;-)
> What do you think about?
I do believe this to be neither too invasive, not too complex to do; so
it will make for a nice addition. As Michael said: patch, please! :-)
As you suggested, this shoud be a config option.
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
--
For unsubscribe information see http://sourceware.org/lists.html#faq
prev parent reply other threads:[~2011-11-16 22:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-16 8:18 Zhenqiang Chen
2011-11-16 19:23 ` Michael Hope
2011-11-16 22:19 ` Yann E. MORIN [this message]
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=201111162319.07206.yann.morin.1998@anciens.enib.fr \
--to=yann.morin.1998@anciens.enib.fr \
--cc=crossgcc@sourceware.org \
--cc=zhenqiang.chen@linaro.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).