benzelano / test_lh_import

1 stars 0 forks source link

Missing i18n/internationalization and/or documentation #133

Closed benzelano closed 13 years ago

benzelano commented 13 years ago

Paul Strong opened this issue

The state_machine README says that state_machine supports internationalization, but I cannot find any further explanation of how this works. After going through the API I cannot find anyway of doing internationalization of state names short of creating a i18n module from scratch.

Has this feature been implemented yet? I’m sorry if I just overlooked something in the api or docs.

Any pointers or response would be greatly appreciated.

original LH ticket

This ticket has 0 attachment(s).

benzelano commented 13 years ago

Paul,

I deeply apologize for not getting back to you earlier on this issue. You’ve pointed out a blatantly missing part of the ActiveRecord documentation :) I’ve since added better support for i18n and properly documented its usage: http://github.com/pluginaweek/state_machine/commit/e25a3207a629f11ee34c9bcbdd663751cd47e805

I realize you have probably found other ways to work around this in the meantime, but I hope that this helps going forward.