<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>~iany/ Java</title><link>https://blog.iany.me/tags/java/</link><description>Recent content in Java «~iany/»</description><language>en-US</language><managingEditor>me@iany.me (Ian Yang)</managingEditor><webMaster>me@iany.me (Ian Yang)</webMaster><copyright>CC-BY-SA 4.0</copyright><lastBuildDate>Sat, 03 Jun 2017 16:09:41 +0800</lastBuildDate><atom:link href="https://blog.iany.me/tags/java/index.xml" rel="self" type="application/rss+xml"/><item><title>Resource Bundle in IntelliJ TornadoFX Gradle Project</title><link>https://blog.iany.me/2017/06/resource-bundle-in-intellij-tornadofx-gradle-project/</link><pubDate>Sat, 03 Jun 2017 16:09:41 +0800</pubDate><author>me@iany.me (Ian Yang)</author><guid>https://blog.iany.me/2017/06/resource-bundle-in-intellij-tornadofx-gradle-project/</guid><description>&lt;ul&gt;
&lt;li&gt;Add properties files into &lt;code&gt;src/main/resources&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Global messages location:
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;src/main/resources/Messages.properties&lt;/code&gt; is for default locale&lt;/li&gt;
&lt;li&gt;&lt;code&gt;src/main/resources/Messages_en_US.properties&lt;/code&gt; is for locale &lt;code&gt;en_US&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Resource Bundle for component: Same directory structure to the class path. For example the resource bundle file for &lt;code&gt;views.Main&lt;/code&gt; can be found in &lt;code&gt;src/main/resources/views/Main.properties&lt;/code&gt;, or file name &lt;code&gt;Main_en_US.properties&lt;/code&gt; for specific locale.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.jetbrains.com/help/idea/configuring-encoding-for-properties-files.html"&gt;Enable native-to-ascii conversion&lt;/a&gt; in IntelliJ to ease editing UTF-8 values.&lt;/li&gt;
&lt;/ul&gt;</description><category domain="https://blog.iany.me/post/">Posts</category><category domain="https://blog.iany.me/tags/java/">Java</category></item></channel></rss>