i18n Files

28 views
Skip to first unread message

Miguel Madero

unread,
Mar 8, 2013, 12:36:48 PM3/8/13
to ged...@googlegroups.com
Hi, 

AFAIR we used to copy the internationalization files from geddy/templates/ whenever we create a new app. Did this change for a reason or it might just be a bug? The validation error messages aren't coming up and i18n data and even the module i18n module isn't loading. Am I missing something? Is internationalization broken for everyone else (at least on new apps)? 


Miguel

Matthew Eernisse

unread,
Mar 8, 2013, 2:16:50 PM3/8/13
to ged...@googlegroups.com
I don't remember if we copied all the locales -- might be we decided to be conservative and not assume people want i18n?

The files are small though -- would probably be better if it worked OOTB, and it's probably worth considering if people wanted to add it after the fact, they wouldn't necessarily know where to look in the Geddy project dir for them.

Can you open a ticket, and maybe even fix it?

Miguel Madero

unread,
Mar 8, 2013, 8:49:52 PM3/8/13
to ged...@googlegroups.com
I don't think we need to copy them, but I just want the default validation messages to show up OOTB instead of the horrible default "[[model.validatePresent]]". I had another quick look and it just worked, then I realized I tested it on my windows machine yesterday, so that seems to be the issue. I will have a look. 

IMO to keep the base app as clean as possible. In favor of discoverability we could add another command to cli or implement it as a plugin and copy the default templates only when needed. 



Miguel


--
The official community discussion group.
website: geddyjs.org, source: https://github.com/mde/geddy, group: https://groups.google.com/d/forum/geddyjs?hl=en
---
You received this message because you are subscribed to the Google Groups "GeddyJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geddyjs+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages