[blfs-support] XML Files

Dan McGhee beesnees at grm.net
Thu Dec 12 09:13:07 PST 2013


On 12/12/2013 10:54 AM, Bruce Dubbs wrote:
> Dan McGhee wrote:
>> On 12/12/2013 10:00 AM, Armin K. wrote:
>>> On 12/12/2013 04:56 PM, Dan McGhee wrote:
>>>> I've noticed that many files that get installed are XML files and
>>>> contain many lines for messages in different languages.  In particular
>>>> I'm thinking of the action files in /usr/share/polkit-1/actions.  My
>>>> $LANG is "en_US.ISO-8859-1."  The existence of these other lines in the
>>>> files make it a little difficult to find what I'm looking for.
>>>>
>>>> In installing these packages; e.g., polkit, did I miss a dependency to
>>>> render these files with only the en_US messages, or is there another
>>>> application that I can apply to these files to eliminate the lines
>>>> relating to other messages?
>>>>
>>>> Thanks,
>>>> Dan
>>>>
>>> That's called Native Language Support. Some packages have --disable-nls
>>> configure switches that disable translating messages into other
>>> languages when possible.
>>>
>> Thanks, Armin. You have really taught me a lot in the last couple of
>> days. Many times I just automatically type commands and options from the
>> book and read the "command explanations" without very much sinking in.
>> Thanks for taking the time to answer these basic questions.
> Many times it is useful to run './configure --help' to see what options
> are supported.
>
>     -- Bruce
>
You're absolutely right, Bruce. Sometimes I slip into my "robot" mode 
and just run my scripts. The lesson I'm learning in the stuff of the 
last few days is to be more diligent in understanding what I'm doing.

Dan




More information about the blfs-support mailing list