/usr/share/doc/python-flufl.i18n-doc/html/README.html is in python-flufl.i18n-doc 1.1.3-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>flufl.i18n - A high level API for internationalization — flufl.i18n 1.1.3 documentation</title>
<link rel="stylesheet" href="_static/classic.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: './',
VERSION: '1.1.3',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
};
</script>
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<link rel="top" title="flufl.i18n 1.1.3 documentation" href="#" />
<link rel="next" title="Using the flufl.i18n library" href="docs/using.html" />
</head>
<body role="document">
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
accesskey="I">index</a></li>
<li class="right" >
<a href="docs/using.html" title="Using the flufl.i18n library"
accesskey="N">next</a> |</li>
<li class="nav-item nav-item-0"><a href="#">flufl.i18n 1.1.3 documentation</a> »</li>
</ul>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<div class="section" id="flufl-i18n-a-high-level-api-for-internationalization">
<h1>flufl.i18n - A high level API for internationalization<a class="headerlink" href="#flufl-i18n-a-high-level-api-for-internationalization" title="Permalink to this headline">¶</a></h1>
<p>This package provides a high level, convenient API for managing
internationalization translation contexts in Python application. There is a
simple API for single-context applications, such as command line scripts which
only need to translate into one language during the entire course of their
execution. There is a more flexible, but still convenient API for
multi-context applications, such as servers, which may need to switch language
contexts for different tasks.</p>
<div class="section" id="requirements">
<h2>Requirements<a class="headerlink" href="#requirements" title="Permalink to this headline">¶</a></h2>
<p><code class="docutils literal"><span class="pre">flufl.i18n</span></code> requires Python 2.6.5 or newer, and is compatible with Python 3.</p>
</div>
<div class="section" id="documentation">
<h2>Documentation<a class="headerlink" href="#documentation" title="Permalink to this headline">¶</a></h2>
<p>A <a class="reference external" href="docs/using.html">simple guide</a> to using the library is available within this package, in
the form of doctests. The manual is also available online in the Cheeseshop
at:</p>
<blockquote>
<div><a class="reference external" href="http://packages.python.org/flufl.i18n">http://packages.python.org/flufl.i18n</a></div></blockquote>
</div>
<div class="section" id="project-details">
<h2>Project details<a class="headerlink" href="#project-details" title="Permalink to this headline">¶</a></h2>
<p>The project home page is:</p>
<blockquote>
<div><a class="reference external" href="http://launchpad.net/flufl.i18n">http://launchpad.net/flufl.i18n</a></div></blockquote>
<p>You should report bugs at:</p>
<blockquote>
<div><a class="reference external" href="http://bugs.launchpad.net/flufl.i18n">http://bugs.launchpad.net/flufl.i18n</a></div></blockquote>
<p>You can download the latest version of the package either from the Cheeseshop:</p>
<blockquote>
<div><a class="reference external" href="http://pypi.python.org/pypi/flufl.i18n">http://pypi.python.org/pypi/flufl.i18n</a></div></blockquote>
<p>or from the Launchpad page above. Of course you can also just install it with
<code class="docutils literal"><span class="pre">pip</span></code> or <code class="docutils literal"><span class="pre">easy_install</span></code> from the command line:</p>
<div class="highlight-python"><div class="highlight"><pre>% sudo pip install flufl.i18n
% sudo easy_install flufl.i18n
</pre></div>
</div>
<p>You may want to use <a class="reference external" href="http://www.virtualenv.org/en/latest/index.html">virtualenv</a> instead of installing the package into the
system Python.</p>
<p>You can grab the latest development copy of the code using Bazaar, from the
Launchpad home page above. See <a class="reference external" href="http://bazaar-vcs.org">http://bazaar-vcs.org</a> for details on the
Bazaar distributed revision control system. If you have Bazaar installed, you
can branch the code like this:</p>
<div class="highlight-python"><div class="highlight"><pre>% bzr branch lp:flufl.i18n
</pre></div>
</div>
<p>You may contact the author via <a class="reference external" href="mailto:barry%40python.org">barry<span>@</span>python<span>.</span>org</a>.</p>
</div>
<div class="section" id="copyright">
<h2>Copyright<a class="headerlink" href="#copyright" title="Permalink to this headline">¶</a></h2>
<p>Copyright (C) 2009-2014 Barry A. Warsaw</p>
<p>This file is part of flufl.i18n</p>
<p>flufl.i18n is free software: you can redistribute it and/or modify it under the
terms of the GNU Lesser General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any
later version.</p>
<p>flufl.i18n is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
details.</p>
<p>You should have received a copy of the GNU Lesser General Public License along
with flufl.i18n. If not, see <<a class="reference external" href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>>.</p>
</div>
<div class="section" id="table-of-contents">
<h2>Table of Contents<a class="headerlink" href="#table-of-contents" title="Permalink to this headline">¶</a></h2>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="docs/using.html">Using the flufl.i18n library</a><ul>
<li class="toctree-l2"><a class="reference internal" href="docs/using.html#set-up">Set up</a><ul>
<li class="toctree-l3"><a class="reference internal" href="docs/using.html#single-language-contexts">Single language contexts</a></li>
<li class="toctree-l3"><a class="reference internal" href="docs/using.html#multiple-language-contexts">Multiple language contexts</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="docs/using.html#substitutions-and-placeholders">Substitutions and placeholders</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="docs/expand.html">Expanding templates</a></li>
<li class="toctree-l1"><a class="reference internal" href="docs/strategies.html">Catalog strategies</a><ul>
<li class="toctree-l2"><a class="reference internal" href="docs/strategies.html#python-package-strategies">Python package strategies</a></li>
<li class="toctree-l2"><a class="reference internal" href="docs/strategies.html#simple-strategy">Simple strategy</a></li>
<li class="toctree-l2"><a class="reference internal" href="docs/strategies.html#calling-with-zero-arguments">Calling with zero arguments</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="NEWS.html">NEWS for flufl.i18n</a><ul>
<li class="toctree-l2"><a class="reference internal" href="NEWS.html#id1">1.1.3 (2014-04-25)</a></li>
<li class="toctree-l2"><a class="reference internal" href="NEWS.html#id2">1.1.2 (2014-03-31)</a></li>
<li class="toctree-l2"><a class="reference internal" href="NEWS.html#id3">1.1.1 (2012-04-19)</a></li>
<li class="toctree-l2"><a class="reference internal" href="NEWS.html#id4">1.1 (2012-01-19)</a></li>
<li class="toctree-l2"><a class="reference internal" href="NEWS.html#id5">1.0.4 (2010-12-06)</a></li>
<li class="toctree-l2"><a class="reference internal" href="NEWS.html#id6">1.0.3 (2010-12-01)</a></li>
<li class="toctree-l2"><a class="reference internal" href="NEWS.html#id7">1.0.2 (2010-06-23)</a></li>
<li class="toctree-l2"><a class="reference internal" href="NEWS.html#id8">1.0.1 (2010-06-09)</a></li>
<li class="toctree-l2"><a class="reference internal" href="NEWS.html#id9">1.0 (2010-04-24)</a></li>
<li class="toctree-l2"><a class="reference internal" href="NEWS.html#id10">0.6 (2010-04-21)</a></li>
<li class="toctree-l2"><a class="reference internal" href="NEWS.html#id11">0.5 (2010-04-20)</a></li>
<li class="toctree-l2"><a class="reference internal" href="NEWS.html#id12">0.4 (2010-03-04)</a></li>
<li class="toctree-l2"><a class="reference internal" href="NEWS.html#id13">0.3 (2009-11-15)</a></li>
</ul>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebarwrapper">
<h3><a href="#">Table Of Contents</a></h3>
<ul>
<li><a class="reference internal" href="#">flufl.i18n - A high level API for internationalization</a><ul>
<li><a class="reference internal" href="#requirements">Requirements</a></li>
<li><a class="reference internal" href="#documentation">Documentation</a></li>
<li><a class="reference internal" href="#project-details">Project details</a></li>
<li><a class="reference internal" href="#copyright">Copyright</a></li>
<li><a class="reference internal" href="#table-of-contents">Table of Contents</a></li>
</ul>
</li>
</ul>
<h4>Next topic</h4>
<p class="topless"><a href="docs/using.html"
title="next chapter">Using the flufl.i18n library</a></p>
<div role="note" aria-label="source link">
<h3>This Page</h3>
<ul class="this-page-menu">
<li><a href="_sources/README.txt"
rel="nofollow">Show Source</a></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">
<h3>Quick search</h3>
<form class="search" action="search.html" method="get">
<input type="text" name="q" />
<input type="submit" value="Go" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
<p class="searchtip" style="font-size: 90%">
Enter search terms or a module, class or function name.
</p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
>index</a></li>
<li class="right" >
<a href="docs/using.html" title="Using the flufl.i18n library"
>next</a> |</li>
<li class="nav-item nav-item-0"><a href="#">flufl.i18n 1.1.3 documentation</a> »</li>
</ul>
</div>
<div class="footer" role="contentinfo">
© Copyright 2009-2014, Barry A. Warsaw.
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.3.1.
</div>
</body>
</html>
|