GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
XOPO(1) FreeBSD General Commands Manual XOPO(1)

xopo
turn libxo format strings into simplified form

xopo [-options]

The xopo utility simplifies libxo format strings into the form used for gettext lookups by the libxo library. Using xopo, users can turn .pot files generated by xgettext into data useful for libxo-enabled applications.

Since gettext uses the string as the key into the message catalog, libxo uses a simplified version of the format string that removes unimportant field formatting and modifiers, stopping minor formatting changes from impacting the expensive translation process. A developer change such as changing "/%06d" to "/%08d" should not force hand inspection of all .po files.

xopo inspects the input file, looking for lines that begin with "msgid" which carry format strings as the remainder of the input line. These strings are passed to libxo for simplification and the resulting strings are replaced into the output stream, allowing xopo to operated as a filter.

Generate the simplified version of a single text string.
Use the given po file for input.
Display this help text
Write output content to the given file
Generate warnings while parsing the format strings
Display version information

  % xopo -f foo.pot -o foo.pot.new

libxo(3), xo_format(5)

FreeBSD uses libxo version 0.6.1. Complete documentation can be found on github:
http://juniper.github.io/libxo/0.6.1/libxo-manual.html

libxo lives on github as:

https://github.com/Juniper/libxo

The latest release of libxo is available at:

https://github.com/Juniper/libxo/releases

The libxo library was added in FreeBSD 11.0.

Phil Shafer
July 9, 2015 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.