Sneaky Abstractions

Subscribe to my Feed, follow me on , recommend me on Working With Rails or see my code on GitHub

Comment

You're viewing a comment to the post Introducing Babilu: Rails i18n for your JavaScript

By Cristobal Viedma at

Great work!

Just a simple suggestion. Maybe when a key is not found in a given language, it could use the translation in the default language.

Now it just show a “null”, but I think that other approach is even better. Only in case is not defined in the chosen locale neither in the default one, it would show the ugly null.

If the radiance of a thousand suns were to burst at once into the sky, that would be like the splendor of the mighty one. Now I am become Death, the destroyer of worlds.