EnglishFrenchSpanish

OnWorks favicon

maketextp - Online in the Cloud

Run maketextp in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command maketextp that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

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.

Use maketextp online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    unitedrpms
    unitedrpms
    Join us in Gitter!
    https://gitter.im/unitedrpms-people/Lobby
    Enable the URPMS repository in your
    system -
    https://github.com/UnitedRPMs/unitedrpms.github.io/bl...
    Download unitedrpms
  • 2
    Boost C++ Libraries
    Boost C++ Libraries
    Boost provides free portable
    peer-reviewed C++ libraries. The
    emphasis is on portable libraries which
    work well with the C++ Standard Library.
    See http://www.bo...
    Download Boost C++ Libraries
  • 3
    VirtualGL
    VirtualGL
    VirtualGL redirects 3D commands from a
    Unix/Linux OpenGL application onto a
    server-side GPU and converts the
    rendered 3D images into a video stream
    with which ...
    Download VirtualGL
  • 4
    libusb
    libusb
    Library to enable user space
    application programs to communicate with
    USB devices. Audience: Developers, End
    Users/Desktop. Programming Language: C.
    Categories...
    Download libusb
  • 5
    SWIG
    SWIG
    SWIG is a software development tool
    that connects programs written in C and
    C++ with a variety of high-level
    programming languages. SWIG is used with
    different...
    Download SWIG
  • 6
    WooCommerce Nextjs React Theme
    WooCommerce Nextjs React Theme
    React WooCommerce theme, built with
    Next JS, Webpack, Babel, Node, and
    Express, using GraphQL and Apollo
    Client. WooCommerce Store in React(
    contains: Products...
    Download WooCommerce Nextjs React Theme
  • More »

Linux commands

Ad