I'm considering using single table inheritance for my contacts model in order to implement different behaviour for different kinds of contacts. As I understand it Rails determines which model.rb, controllers, routes and so on to use by looking at the value of the type column in contact.rb.
I intend to use a single create form for contacts where users can select the type of contact in a select box. But how would this work if my default application language is german? So instead of selecting a contact type like "customer", users will select "Kunde" - however of course I don't want to mess up my filenames and would like to use customer.rb, customers_controller.rb, customer_path and so on.
While I understand that you can kind of hide this problem by using german names and english values in the form's select box, it will be an issue as soon as I want to display the value anywhere else, where it needs to be german.
Am I missing something is or STI just not worth the effort if your app is not english?