
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
... | ... | @@ -29,7 +29,7 @@ |
29 | 29 |
|
30 | 30 |
# The application languages |
31 | 31 |
# ~~~~~ |
32 |
-application.langs="en, ko, ja" |
|
32 |
+application.langs="en-US, ko-KR, ja-JP" |
|
33 | 33 |
|
34 | 34 |
# Global object class |
35 | 35 |
# ~~~~~ |
--- conf/messages.ja
+++ conf/messages.ja-JP
No changes |
--- conf/messages.ko
+++ conf/messages.ko-KR
No changes |
--- docs/relnotes/0.8.0.txt
+++ docs/relnotes/0.8.0.txt
... | ... | @@ -4,6 +4,11 @@ |
4 | 4 |
Backward compatibility notes |
5 | 5 |
---------------------------- |
6 | 6 |
|
7 |
+If you are upgrading from any previous version, You may need to update |
|
8 |
+conf/application.conf for backward compatibility. |
|
9 |
+ |
|
10 |
+### Use explicit path to database |
|
11 |
+ |
|
7 | 12 |
If you are using implicit relative path for the db.default.url, |
8 | 13 |
then you have to change it to use explicit relative path like: |
9 | 14 |
|
... | ... | @@ -13,6 +18,14 @@ |
13 | 18 |
TO BE: |
14 | 19 |
db.default.url="jdbc:h2:file:./yobi;MODE=PostgreSQL" |
15 | 20 |
|
21 |
+### Specify country code |
|
22 |
+ |
|
23 |
+Since Yobi 0.8.0, language codes are changed to include country code to fix the |
|
24 |
+bug that i18n does not work for some browsers. So you have to country code |
|
25 |
+after every language code as follows: |
|
26 |
+ |
|
27 |
+ application.langs="en-US, ko-KR, ja-JP" |
|
28 |
+ |
|
16 | 29 |
Updates since v0.7.2 |
17 | 30 |
------------------ |
18 | 31 |
|
--- test/controllers/PasswordResetAppTest.java
+++ test/controllers/PasswordResetAppTest.java
... | ... | @@ -34,7 +34,7 @@ |
34 | 34 |
@Test |
35 | 35 |
public void testRequestResetPassword_validLoginIdAndEmailAddress() { |
36 | 36 |
Map<String, String> config = support.Helpers.makeTestConfig(); |
37 |
- config.put("application.langs", "ko"); |
|
37 |
+ config.put("application.langs", "ko-KR"); |
|
38 | 38 |
|
39 | 39 |
running(support.Helpers.makeTestApplication(config), new Runnable() { |
40 | 40 |
public void run() { |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?