<p>For language-dependent output of AMR functions, like <code><ahref='mo_property.html'>mo_name()</a></code>, <code><ahref='mo_property.html'>mo_gramstain()</a></code>, <code><ahref='mo_property.html'>mo_type()</a></code> and <code><ahref='ab_property.html'>ab_name()</a></code>.</p>
<p>Strings will be translated to foreign languages if they are defined in a local translation file. Additions to this file can be suggested at our repository. The file can be found here: <ahref='https://github.com/msberends/AMR/blob/master/data-raw/translations.tsv'>https://github.com/msberends/AMR/blob/master/data-raw/translations.tsv</a>. This file will be read by all functions where a translated output can be desired, like all <code><ahref='mo_property.html'>mo_*</a></code> functions (such as <code><ahref='mo_property.html'>mo_name()</a></code>, <code><ahref='mo_property.html'>mo_gramstain()</a></code>, <code><ahref='mo_property.html'>mo_type()</a></code>, etc.) and <code><ahref='ab_property.html'>ab_*</a></code> functions (such as <code><ahref='ab_property.html'>ab_name()</a></code>, <code><ahref='ab_property.html'>ab_group()</a></code>, etc.).</p>
<p>Currently supported languages are: Dutch, English, French, German, Italian, Portuguese, Spanish. Please note that currently not all these languages have translations available for all antimicrobial agents and colloquial microorganism names.</p>
<p>Please suggest your own translations <ahref='https://github.com/msberends/AMR/issues/new?title=Translations'>by creating a new issue on our repository</a>.</p><h3class='hasAnchor'id='arguments'><aclass='anchor'href='#arguments'></a>Changing the default language</h3>
<p>The system language will be used at default (as returned by <code><ahref='https://rdrr.io/r/base/Sys.getenv.html'>Sys.getenv("LANG")</a></code> or, if <code>LANG</code> is not set, <code><ahref='https://rdrr.io/r/base/locales.html'>Sys.getlocale()</a></code>), if that language is supported. But the language to be used can be overwritten in two ways and will be checked in this order:</p><ol>
<li><p>Setting the R option <code>AMR_locale</code>, e.g. by running <code><ahref='https://rdrr.io/r/base/options.html'>options(AMR_locale = "de")</a></code></p></li>
<li><p>Setting the system variable <code>LANGUAGE</code> or <code>LANG</code>, e.g. by adding <code>LANGUAGE="de_DE.utf8"</code> to your <code>.Renviron</code> file in your home directory</p></li>
</ol>
<p>So if the R option <code>AMR_locale</code> is set, the system variables <code>LANGUAGE</code> and <code>LANG</code> will be ignored.</p>
The <ahref='lifecycle.html'>lifecycle</a> of this function is <strong>stable</strong>. In a stable function, major changes are unlikely. This means that the unlying code will generally evolve by adding new arguments; removing arguments or changing the meaning of existing arguments will be avoided.</p>
<p>If the unlying code needs breaking changes, they will occur gradually. For example, a parameter will be deprecated and first continue to work, but will emit an message informing you of the change. Next, typically after at least one newly released version on CRAN, the message will be transformed to an error.</p>
<p>On our website <ahref='https://msberends.github.io/AMR/'>https://msberends.github.io/AMR/</a> you can find <ahref='https://msberends.github.io/AMR/articles/AMR.html'>a comprehensive tutorial</a> about how to conduct AMR analysis, the <ahref='https://msberends.github.io/AMR/reference/'>complete documentation of all functions</a> and <ahref='https://msberends.github.io/AMR/articles/WHONET.html'>an example analysis using WHONET data</a>. As we would like to better understand the backgrounds and needs of our users, please <ahref='https://msberends.github.io/AMR/survey.html'>participate in our survey</a>!</p>
<spanclass='fu'><ahref='mo_property.html'>mo_name</a></span><spanclass='op'>(</span><spanclass='st'>"CoNS"</span>, language <spanclass='op'>=</span><spanclass='st'>"en"</span><spanclass='op'>)</span>
<spanclass='fu'><ahref='mo_property.html'>mo_name</a></span><spanclass='op'>(</span><spanclass='st'>"CoNS"</span>, language <spanclass='op'>=</span><spanclass='st'>"de"</span><spanclass='op'>)</span>
<spanclass='fu'><ahref='mo_property.html'>mo_name</a></span><spanclass='op'>(</span><spanclass='st'>"CoNS"</span>, language <spanclass='op'>=</span><spanclass='st'>"nl"</span><spanclass='op'>)</span>
<spanclass='fu'><ahref='mo_property.html'>mo_name</a></span><spanclass='op'>(</span><spanclass='st'>"CoNS"</span>, language <spanclass='op'>=</span><spanclass='st'>"es"</span><spanclass='op'>)</span>
<spanclass='fu'><ahref='mo_property.html'>mo_name</a></span><spanclass='op'>(</span><spanclass='st'>"CoNS"</span>, language <spanclass='op'>=</span><spanclass='st'>"it"</span><spanclass='op'>)</span>
<spanclass='fu'><ahref='mo_property.html'>mo_name</a></span><spanclass='op'>(</span><spanclass='st'>"CoNS"</span>, language <spanclass='op'>=</span><spanclass='st'>"pt"</span><spanclass='op'>)</span>
<p>Developed by <ahref='https://www.rug.nl/staff/m.s.berends/'>Matthijs S. Berends</a>, <ahref='https://www.rug.nl/staff/c.f.luz/'>Christian F. Luz</a>, <ahref='https://www.rug.nl/staff/a.w.friedrich/'>Alexander W. Friedrich</a>, <ahref='https://www.rug.nl/staff/b.sinha/'>Bhanu N. M. Sinha</a>, <ahref='https://www.rug.nl/staff/c.j.albers/'>Casper J. Albers</a>, <ahref='https://www.rug.nl/staff/c.glasner/'>Corinna Glasner</a>.</p>
<p>Made with <ahref="https://pkgdown.r-lib.org/">pkgdown</a> 1.6.1, using <ahref="https://preferably.amirmasoudabdol.name/?source=footer">preferably</a> template.</p>