Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
XOPO(1)			    General Commands Manual		       XOPO(1)

NAME
       xopo -- turn libxo format strings into simplified form

SYNOPSIS
       xopo [-options]

DESCRIPTION
       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 applica-
       tions.

       Since gettext uses the string as	the  key  into	the  message  catalog,
       libxo uses a simplified version of the format string that removes unim-
       portant	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 in-
       spection	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.

       --simplify OR -s	<text>
			  Generate  the	 simplified  version  of a single text
			  string.

       --po OR -f <pofile>
			  Use the given	po file	for input.

       --help		  Display this help text

       --output	OR -o <file>
			  Write	output content to the given file

       --warn OR -W	  Generate warnings while parsing the format strings

       --version	  Display version information

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

SEE ALSO
       libxo(3), xo_format(5)

ADDITIONAL DOCUMENTATION
       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

HISTORY
       The libxo library was added in FreeBSD 11.0.

AUTHOR
       Phil Shafer

FreeBSD	ports 15.0		 July 9, 2015			       XOPO(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=xopo&sektion=1&manpath=FreeBSD+Ports+15.0>

home | help