From 5edf9b87b03712ea13f82795d0b008320592cdbf Mon Sep 17 00:00:00 2001 From: George Gastaldi Date: Tue, 11 Dec 2012 19:01:28 -0200 Subject: [PATCH] Update pages/prettytime/translate-for-your-language.page --- pages/prettytime/translate-for-your-language.page | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pages/prettytime/translate-for-your-language.page b/pages/prettytime/translate-for-your-language.page index ed31345..f967a51 100644 --- a/pages/prettytime/translate-for-your-language.page +++ b/pages/prettytime/translate-for-your-language.page @@ -127,6 +127,11 @@ public class Resources extends ListResourceBundle This would effectively print 5 freakin' days ago. Fun! +

+NOTE: As a good practice, ALWAYS unicode the words inside your bundle. +If you use Eclipse, there is a nice plugin who already does that: http://andrei.gmxhome.de/anyedit/ +


+

Putting it all together

You should now be ready to implement your own custom translation for PrettyTime. Don't forget to write a test-case to prove that everything works!