1 |
Hi |
2 |
|
3 |
> > 2) Make a variable LANG (in make.conf or rc.conf) and set it equal to |
4 |
> > the language wanted. |
5 |
> |
6 |
> I see this variable more as a list of languages (other than |
7 |
> english which would be default), by order of preference. |
8 |
> |
9 |
> It would be useful for several things: |
10 |
> - as you've said, it would make possible to apply language-specific |
11 |
> patches |
12 |
> - some ebuilds could also have language-specific dependencies, like the |
13 |
> i18n packages for kde (we could also add "app-i18n/manpages-lang" as a |
14 |
> conditional dependency to "sys-apps/man-pages", etc.) |
15 |
> - it would also be a more explicit way to choose the language at |
16 |
> compile time for packages such as openoffice |
17 |
> - it would allow ebuild "einfo" internationalisation |
18 |
> |
19 |
> The problem is that a new bash function should be provided by ebuild.sh |
20 |
> to easily make some "switch to the best matching language" case-like |
21 |
> constructs in ebuilds, but I don't think it is that difficult. |
22 |
|
23 |
It's a nice idea but it's other issue because the suggestion I emailed |
24 |
is not that we'll be able to select language for i18n applications. |
25 |
|
26 |
We should think 'localization issue(enable to use one language)' and |
27 |
'selection language for i18n applications' separately. |
28 |
|
29 |
Thanks, |
30 |
Masatomo Nakano |
31 |
|
32 |
-- |
33 |
gentoo-dev@g.o mailing list |