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
    OfficeFloor
    OfficeFloor
    OfficeFloor provides inversion of
    coupling control, with its: - dependency
    injection - continuation injection -
    thread injection For more information
    visit the...
    Download OfficeFloor
  • 2
    DivKit
    DivKit
    DivKit is an open source Server-Driven
    UI (SDUI) framework. It allows you to
    roll out server-sourced updates to
    different app versions. Also, it can be
    used fo...
    Download DivKit
  • 3
    subconverter
    subconverter
    Utility to convert between various
    subscription format. Shadowrocket users
    should use ss, ssr or v2ray as target.
    You can add &remark= to
    Telegram-liked HT...
    Download subconverter
  • 4
    SWASH
    SWASH
    SWASH is a general-purpose numerical
    tool for simulating unsteady,
    non-hydrostatic, free-surface,
    rotational flow and transport phenomena
    in coastal waters as ...
    Download SWASH
  • 5
    VBA-M (Archived - Now on Github)
    VBA-M (Archived - Now on Github)
    Project has moved to
    https://github.com/visualboyadvance-m/visualboyadvance-m
    Features:Cheat creationsave statesmulti
    system, supports gba, gbc, gb, sgb,
    sgb2Tu...
    Download VBA-M (Archived - Now on Github)
  • 6
    Stacer
    Stacer
    Linux System Optimizer and Monitoring
    Github Repository:
    https://github.com/oguzhaninan/Stacer.
    Audience: End Users/Desktop. User
    interface: Qt. Programming La...
    Download Stacer
  • More »

Linux commands

Ad