채수원 2015-03-12
Merge branch 'fix/accept-ko-kr' into 'next'
from pull-request 1495

* refs/heads/fix/accept-ko-kr:
  Update backward compatibility notes for 0.8.0
  Fix messages are not shown in preferred language

Reviewed-by: 채수원 
@af0b453343296e9f55c93a6d8bf57c15fe9744b1
conf/application.conf.default
--- conf/application.conf.default
+++ conf/application.conf.default
@@ -29,7 +29,7 @@
 
 # The application languages
 # ~~~~~
-application.langs="en, ko, ja"
+application.langs="en-US, ko-KR, ja-JP"
 
 # Global object class
 # ~~~~~
conf/messages.ja-JP (Renamed from conf/messages.ja)
--- conf/messages.ja
+++ conf/messages.ja-JP
No changes
conf/messages.ko-KR (Renamed from conf/messages.ko)
--- conf/messages.ko
+++ conf/messages.ko-KR
No changes
docs/relnotes/0.8.0.txt
--- docs/relnotes/0.8.0.txt
+++ docs/relnotes/0.8.0.txt
@@ -4,6 +4,11 @@
 Backward compatibility notes
 ----------------------------
 
+If you are upgrading from any previous version, You may need to update
+conf/application.conf for backward compatibility.
+
+### Use explicit path to database
+
 If you are using implicit relative path for the db.default.url,
 then you have to change it to use explicit relative path like:
 
@@ -13,6 +18,14 @@
     TO BE:
     db.default.url="jdbc:h2:file:./yobi;MODE=PostgreSQL"
 
+### Specify country code
+
+Since Yobi 0.8.0, language codes are changed to include country code to fix the
+bug that i18n does not work for some browsers. So you have to country code
+after every language code as follows:
+
+    application.langs="en-US, ko-KR, ja-JP"
+
 Updates since v0.7.2
 ------------------
 
test/controllers/PasswordResetAppTest.java
--- test/controllers/PasswordResetAppTest.java
+++ test/controllers/PasswordResetAppTest.java
@@ -34,7 +34,7 @@
     @Test
     public void testRequestResetPassword_validLoginIdAndEmailAddress() {
         Map<String, String> config = support.Helpers.makeTestConfig();
-        config.put("application.langs", "ko");
+        config.put("application.langs", "ko-KR");
 
         running(support.Helpers.makeTestApplication(config), new Runnable() {
             public void run() {
Add a comment
List