EnglishFrenchSpanish

OnWorks favicon

resgen2 - Online in the Cloud

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

This is the command resgen2 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


resgen, resgen2 - Mono/CLI Resource Generator

SYNOPSIS


resgen source.ext [dest.ext]

resgen /compile source.ext[,dest.resources] [...]

resgen2

DESCRIPTION


Convert a resource file from one format to another.

The currently supported formats are text, resources, resx and po.

.txt, .text

Used to process text files, the format of the text file is of the form:

key=value

The value argument can contain special characters as long as they are escaped.
The escape sequences currently supported are \n, \r, \t, \\ (to get the escape
sequence itself) and with resgen2 unicode escape sequences are supported with the
\uXXXX escape sequence, where XXXX is a four digit number.

Lines that start with the # or ; character are considered comments and ignored.

'.resources'

This is the binary file format implemented by the System.Resources.ResourceReader
class, part of mscorlib.dll

'.resx'

This is the binary file format implemented by the
System.Resources.ResXResourceReader class. This class is not part of mscorlib.dll,
this class is part of System.Windows.Forms.

'.po'.

PO files are the source files used by the Unix gettext infrastructure that is
typically used to internationalize applications.

Lines starting with the '#' character are comment lines.

The file contains many instance of strings like this:

msgid KEY
msgstr VALUE

The KEY is typically the string to translate and the VALUE is the translation. On
PO files instead of using codes as the KEY (as it is customary with resource files)
the KEY is typically a complete english message that applications embed in their
source code and will be used as a fallback if no translation resources are used.

Since resources are key value pairs, the extended features in PO files are not
supported (plurals and support for N-cases).

To learn more about the po file format, use your info browser and point it to the
"(gettext)PO Files" node.

If the destination file is not specified, source.resources will be used.

The /compile option takes a list of .resX or .txt files to convert to the output file
name.

OPTIONS


-compile

This switch instructs resgen to compile multiple files. It must appear before any
resources are specified on the command line.

-usesourcepath

This option is only available for resgen2, and it instructs resgen to resolve
relative paths using the directory of the resx file as current directory.

Use resgen2 online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    oStorybook
    oStorybook
    oStorybook l'outil privil�gi� des
    �crivains. ATTENTION : voir sur
    http://ostorybook.tuxfamily.org/v5/
    --en_EN oStorybook the right tool for
    writers. WARNIN...
    Download oStorybook
  • 2
    Asuswrt-Merlin
    Asuswrt-Merlin
    Asuswrt-Merlin is a third party
    firmware for select Asus wireless
    routers. Based on the Asuswrt firmware
    developed by Asus, it brings tweaks, new
    features and ...
    Download Asuswrt-Merlin
  • 3
    Atom
    Atom
    Atom is a text editor that's
    modern, approachable and full-featured.
    It's also easily customizable- you
    can customize it to do anything and be
    able to ...
    Download Atom
  • 4
    Osu!
    Osu!
    Osu! is a simple rhythm game with a well
    thought out learning curve for players
    of all skill levels. One of the great
    aspects of Osu! is that it is
    community-dr...
    Download Osu!
  • 5
    LIBPNG: PNG reference library
    LIBPNG: PNG reference library
    Reference library for supporting the
    Portable Network Graphics (PNG) format.
    Audience: Developers. Programming
    Language: C. This is an application that
    can also...
    Download LIBPNG: PNG reference library
  • 6
    Metal detector based on  RP2040
    Metal detector based on RP2040
    Based on Raspberry Pi Pico board, this
    metal detector is included in pulse
    induction metal detectors category, with
    well known advantages and disadvantages.
    RP...
    Download Metal detector based on RP2040
  • More »

Linux commands

Ad