Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

* Language Translation Scenario Assitance


Go to End


1729 Views

Avatar
Terminator4

Community Member, 81 Posts

6 January 2009 at 3:01pm

Hi,
I would like to find out how it would be possible to create a module with some language translation functionality (or work around) for any of the following scenarios - be it one or more:

1) I have a custom page on the Site Content section and I would like to have a popup which makes use of the ComplexTableField with translation abilities for facilities that would be added to the Table. This would be a separate Database table with a relationship this page type.

2) By creating a custom module on the main menu (ie not part of the site content) with translation functionality that is accessible and as a dropdown list/radio group/checkbox group under a Site Content custom page with preserving the translation variants.

3) Making use of Enums in combination with language files to capture and translate the words/phrases.

Any assistance would be much appreciated especially with regard to points 1 and 2

Thanks