01-30-2008
The GNU gettext approach is one way of doing it. Most UNIX vendors however use dspmsg.
6 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am currently working as a configuration manager on a quite a large project. Our development environment is on NT, but from unit testing onwards it will be UNIX.
I will need to write scripts to automate the process of migrating code from NT to UNIX, now since I am new to UNIX, I wasn't sure if... (3 Replies)
Discussion started by: headspin
3 Replies
2. Shell Programming and Scripting
Hi everyone,
First of all, i dont know what id do without this forum its been such a great help:) so a big thankyou to all,
anyway i have a simple question, if i wrote a scrpt in english would it work on another machine with a different language, or do i have to put something in the script to say... (9 Replies)
Discussion started by: dave123
9 Replies
3. What is on Your Mind?
Post what languages (including scripting) you know, why and where you think that language is most usable. Also include libraries in which you're really good at (libusb, gtk, qt, etc).
assembly?
C or C++?
perl or python?
pascal?
bash or csh/tcsh?
opengl?
gtk or qt?
mono? (27 Replies)
Discussion started by: redoubtable
27 Replies
4. Web Development
We have a Java app that renders Localized text on user's browser session based upon browser language settings. The app reads the browser language settings and prepares the localized text. But recently we faced issues for Mozilla 5.0 version browser. Note our code works fine in IE. Taking an... (1 Reply)
Discussion started by: uunniixx
1 Replies
5. Web Development
I am learning Web Development, so far i am learning html,xhtml, css, java script....
What I want to know is what other Web Development languages should i learn? (1 Reply)
Discussion started by: Anna Hussie
1 Replies
6. Programming
Subject: Debugging a program written in two languages
Platform: Linux (Kubuntu)
I am trying to debug a C application with bindings to some simple functions written in Ada using the GNAT Programming Studio IDE (GPS). The main entry point is in C. The debugger is gdb.
I managed to compile... (0 Replies)
Discussion started by: NiGHTS
0 Replies
GETTEXT(1) GNU GETTEXT(1)
NAME
gettext - translate message
SYNOPSIS
gettext [OPTION] [[TEXTDOMAIN] MSGID]
gettext [OPTION] -s [MSGID]...
DESCRIPTION
The gettext program translates a natural language message into the user's language, by looking up the translation in a message catalog.
Display native language translation of a textual message.
-d, --domain=TEXTDOMAIN
retrieve translated messages from TEXTDOMAIN
-e enable expansion of some escape sequences
-E (ignored for compatibility)
-h, --help
display this help and exit
-n suppress trailing newline
-V, --version
display version information and exit
[TEXTDOMAIN] MSGID
retrieve translated message corresponding to MSGID from TEXTDOMAIN
If the TEXTDOMAIN parameter is not given, the domain is determined from the environment variable TEXTDOMAIN. If the message catalog is not
found in the regular directory, another location can be specified with the environment variable TEXTDOMAINDIR. When used with the -s
option the program behaves like the `echo' command. But it does not simply copy its arguments to stdout. Instead those messages found in
the selected catalog are translated. Standard search directory: /usr/share/locale
AUTHOR
Written by Ulrich Drepper.
REPORTING BUGS
Report bugs to <bug-gnu-gettext@gnu.org>.
COPYRIGHT
Copyright (C) 1995-1997, 2000-2007 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
SEE ALSO
The full documentation for gettext is maintained as a Texinfo manual. If the info and gettext programs are properly installed at your
site, the command
info gettext
should give you access to the complete manual.
GNU gettext-runtime 0.17 November 2007 GETTEXT(1)