I'm working on a site that is about to be translated into a few different languages and this was very easy to set up with Silverstripe. But I have a question: Is it possible to access the strings (in statics) defined in my model for translation?
The site uses several different page-types containing forms all generated from calls to getFrontEndFields() on a few different dataobjects and it works very good. Adding, and removing, fields from the dataobjects become very simple: just add a $db-field and write a new $field_labels-value to have it show up everywhere.
How would I go about preparing this site, the forms, for translation ?
Do I have to rewrite the forms themselves, foregoing getFrontEndFields()?
I have found some clues in Dataobject.php with a reference to i18nCollectStatics() but that function doesn't seem to exist. There are some more clues in the forum thread about the Dashboard-module, referencing provideI18nEntities(), but I can't find it actually implemented there.
/Daniel (working for a non-profit helping exchange student find cheap apartments/rooms)