<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html401/loose.dtd">
<html>
<!--This manual describes what the CentOS Artwork Repository is and what
can you do inside it.
Copyright C 2009, 2010 The CentOS Project. All rights
reserved.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2 or
any later version published by the Free Software Foundation; with no
Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A
copy of the license is included in the section entitled GNU Free
Documentation License.
-->
<!-- Created on September, 5 2010 by texi2html 1.76 -->
<!--
Written by: Lionel Cons <Lionel.Cons@cern.ch> (original author)
Karl Berry <karl@freefriends.org>
Olaf Bachmann <obachman@mathematik.uni-kl.de>
and many others.
Maintained by: Many creative people <dev@texi2html.cvshome.org>
Send bugs and suggestions to <users@texi2html.cvshome.org>
-->
<head>
<title>CentOS Artwork Repository: 3.23.2 Usage</title>
<meta name="description" content="CentOS Artwork Repository: 3.23.2 Usage">
<meta name="keywords" content="CentOS Artwork Repository: 3.23.2 Usage">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="texi2html 1.76">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css">
<!--
@import "/home/centos/artwork/trunk/Identity/Themes/Motifs/Modern/Web/Css/Texi2html/common.css";
a.summary-letter {text-decoration: none}
pre.display {font-family: serif}
pre.format {font-family: serif}
pre.menu-comment {font-family: serif}
pre.menu-preformatted {font-family: serif}
pre.smalldisplay {font-family: serif; font-size: smaller}
pre.smallexample {font-size: smaller}
pre.smallformat {font-family: serif; font-size: smaller}
pre.smalllisp {font-size: smaller}
span.sansserif {font-family:sans-serif; font-weight:normal;}
ul.toc {list-style: none}
-->
</style>
</head>
<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
<a name="SEC97"></a>
<table cellpadding="1" cellspacing="1" border="0" width="100%">
<tr><td valign="middle" align="left">[<a href="repository_96.html#SEC96" title="Previous section in reading order"> < </a>]</td>
<td valign="middle" align="left">[<a href="repository_98.html#SEC98" title="Next section in reading order"> > </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="repository_3.html#SEC3" title="Beginning of this chapter or previous chapter"> << </a>]</td>
<td valign="middle" align="left">[<a href="repository_95.html#SEC95" title="Up section"> Up </a>]</td>
<td valign="middle" align="left">[<a href="repository_114.html#SEC114" title="Next chapter"> >> </a>]</td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left"> </td>
<td valign="middle" align="left">[<a href="repository.html#SEC_Top" title="Cover (top) of document">Top</a>]</td>
<td valign="middle" align="left">[<a href="repository_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td>
<td valign="middle" align="left">[<a href="repository_114.html#SEC114" title="Index">Index</a>]</td>
<td valign="middle" align="left">[<a href="repository_abt.html#SEC_About" title="About (help)"> ? </a>]</td>
</tr></table>
<h3 class="subsection"> 3.23.2 Usage </h3>
<p>To render translation files use the command:
</p>
<pre class="verbatim">centos-art render --translation='path/to/dir' --filter='release-number'
</pre>
<dl compact="compact">
<dt> <samp>`--translation='path/to/dir''</samp></dt>
<dd><p>Define the translation directory path you want to render using
<code>centos-art</code> script.
</p>
<p>If no directory path is provided as <samp>`path/to/dir'</samp>, the
<code>centos-art</code> script uses the absolute path where the command
was invoked from. If the path provided doesn't point to a valid
translation directory the <code>centos-art</code> script outputs a
message and quits script execution.
</p>
</dd>
<dt> <samp>`--filter='release-number''</samp></dt>
<dd><p>Define the CentOS distribution release number you want to render
translations for. You can provide one single release number or a list
of numbers separated by commas (e.g., <samp>`--filter='3,4,5,6''</samp>).
</p>
<p>If no <samp>`--filter='release-number''</samp> argument is provided, the
<code>centos-art</code> script looks for translation files already
rendered and updates them using translation template as referece.
This configuration may be usefull if all your release-specific
translation directories always have the same information that
translation template does. If this is the case, you only need to
maintain the translation template and use the <code>centos-art</code>
translation script to propagate changes to each release-specific
translation directory.
</p>
<p>In contrast, if you are using the <code>centos-art</code> script to
create release-specific translation directories that use translation
template as base to introduce non-reusable translations, you should
take care when executing the <code>centos-art</code> script. Otherwise,
your non-reusable translations may be replaced with those in templates.
</p></dd>
</dl>
<p>
<font size="-1">
This document was generated on <i>September, 5 2010</i> using <a href="http://texi2html.cvshome.org/"><i>texi2html 1.76</i></a>.
</font>
<br>
</p>
</body>
</html>