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.

General Questions /

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

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

* Language Translation Scenario Assitance


Reply


736 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