<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.lingoport.com/index.php?action=history&amp;feed=atom&amp;title=Parameter_Regexp</id>
	<title>Parameter Regexp - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.lingoport.com/index.php?action=history&amp;feed=atom&amp;title=Parameter_Regexp"/>
	<link rel="alternate" type="text/html" href="https://wiki.lingoport.com/index.php?title=Parameter_Regexp&amp;action=history"/>
	<updated>2026-04-30T19:18:10Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.3</generator>
	<entry>
		<id>https://wiki.lingoport.com/index.php?title=Parameter_Regexp&amp;diff=89896&amp;oldid=prev</id>
		<title>Olibouban: Created page with &quot;== Resource Parameters == A resource files contains resources, i.e. strings which are translated. A resource is typically a key value pair. In Java properties files for instan...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.lingoport.com/index.php?title=Parameter_Regexp&amp;diff=89896&amp;oldid=prev"/>
		<updated>2017-04-20T23:15:57Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Resource Parameters == A resource files contains resources, i.e. strings which are translated. A resource is typically a key value pair. In Java properties files for instan...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Resource Parameters ==&lt;br /&gt;
A resource files contains resources, i.e. strings which are translated. A resource is typically a key value pair. In Java properties files for instance, a key value pair looks like the following:&lt;br /&gt;
&lt;br /&gt;
  KEY_DESC=Description of the widget for {userName}. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;{userName}&amp;lt;/code&amp;gt; is a parameter in this string. It will be replaced by a variable at run time, say, John Smith. To the U.S. English string shown for KEY_DESC will end up looking like &amp;lt;code&amp;gt;Description of the widget for John Smith.&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When returning a translated string, the parameter needs to have been preserved, i.e. in the French string will need to include the {userName} parameter. For instance:&lt;br /&gt;
  &lt;br /&gt;
  KEY_DESC=Description de la widget pour {userName}.&lt;br /&gt;
&lt;br /&gt;
and not&lt;br /&gt;
&lt;br /&gt;
  KEY_DESK=Description de la widget pour {nom d&amp;#039;utilisateur}.&lt;/div&gt;</summary>
		<author><name>Olibouban</name></author>
	</entry>
</feed>