Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

localize(1p) [debian man page]

LOCALIZE(1p)						User Contributed Perl Documentation					      LOCALIZE(1p)

NAME
localize -- produce Interchange localization file from set of pages VERSION
# $Id: localize.PL,v 2.11 2007-08-09 13:40:57 pajamian Exp $ SYNOPSIS
"localize -l lg_CC [-d lg_CC] [-m file|-t] file [file2 file3 ...]" DESCRIPTION
Helps manage Interchange pages by finding, adding, and merging localization strings. OPTIONS
"-c" Rewrite [L] sections with [LC]text[do_DO]text[/do_dO], adjust file and data -- mutually exclusive with "-o". "-d lg_CC" Create default domain file with Locale lg_CC as prefix "-l lg_CC" Create file with Locale lg_CC as prefix. This is mandatory unless in -c mode with "-m" option. "-m file" Read existing information to merge from <file>. Can contain multiple locales. "-M" When in "-c" mode, prefix MM_ to make minimate_compatible; when in regular mode, strip MM_ from [LC] defs "-n" Don't write comments in the output. "-o" Rewrite [L] sections with [L msgNNNN], adjust file and data. Mutually exclusive with "-c". "-t" Two page mode, mutually exclusive with "-m." "-u dir" Directory with (UI) menu database files, e.g. "/usr/lib/interchange/lib/UI/pages/includes/menus". This can be used to include the menu titles in the output. lg_CC refers to the POSIX norm of specifying two-letter language and country codes to refer to a locale. Two-page mode requires two files (one for each language) to compare and merge into one locale definition. The merge file for the "-m" option should use the Perl reference form -- see the Interchange documentation for more information. If [L msg_key]default text[/L] keys are found, will produce a comment with the default text for reference. A backup file (filename.html.bak) is saved if "-o" is used, but only one level. Subsequent .bak files will be overwritten. SEE ALSO
http://www.icdevgroup.org/ AUTHOR
Mike Heins and Stefan Hornburg perl v5.14.2 2012-01-23 LOCALIZE(1p)

Check Out this Related Man Page

MAKETEXT(1p)						User Contributed Perl Documentation					      MAKETEXT(1p)

NAME
maketext - translate and make messages SYNOPSIS
maketext [OPTION] [--domain=TEXTDOMAIN] MSGKEY [PARAM...] maketext [OPTION] -s MSGID [PARAM...] DESCRIPTION
The "maketext" script translates a natural language message into the user's language, by looking up the translation in a message MO file, and process the plural transformation with Maketext. The "maketext" script is a command-line interface to Locale::Maketext::Gettext(3) (and Locale::Maketext(3)). It can be used in shell scripts, etc, to translate, maketext and return the result. By this way, it enables Maketext to be integrated into other programming languages/systems, like bash/csh, python, PHP, C, etc. It works like the command-line program gettext. For example: % maketext -s "[*,_1,virus was,viruses were] found in [*,_2,file,files]." 0 1 0 viruses were found in 1 file. % maketext -s "[*,_1,virus was,viruses were] found in [*,_2,file,files]." 1 3 1 virus was found in 3 files. % OPTIONS
-d,--domain=TEXTDOMAIN Retrieve translated messages from TEXTDOMAIN. -s Adds a new line to the end of the output so that it behaves like the `echo' or the `gettext' command. -h,--help Display the help messages. -V,--version Display version information and exit. MSGKEY The original text used to look up translated text. PARAM... Parameters to Maketext for the plural and other text functions. ENVIRONMENT
TEXTDOMAIN TEXTDOMAIN is used to determine the text domain when the -d parameter is not given. TEXTDOMAINDIR TEXTDOMAINDIR is used to search the message catelog/MO file if it does not reside in the system locale directories. NOTES
Maketext language function override, like "quant" or "numerate", is not available here. Suggestions are welcome. The current system locale directory search order is: /usr/share/locale, /usr/lib/locale, /usr/local/share/locale, /usr/local/lib/locale. Suggestions are welcome. BUGS
Report bugs to imacat <imacat@mail.imacat.idv.tw> SEE ALSO
Locale::Maketext(3), Locale::Maketext::TPJ13(3), Locale::Maketext::Gettext(3), Locale::Maketext::Gettext::Functions(3), bindtextdomain(3), textdomain(3). Also, please refer to the official GNU gettext manual at <http://www.gnu.org/software/gettext/manual/>. AUTHOR
imacat <imacat@mail.imacat.idv.tw> COPYRIGHT
Copyright (c) 2003-2007 imacat. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.0 2007-03-28 MAKETEXT(1p)
Man Page