Go to file
Ingo Schommer ba5d862474 Merge pull request #1 from smares/patch-1
Patch for create translation language dropdown
2012-02-14 00:25:07 -08:00
code Copy values to keys in updateCMSFields' $alreadyTranslatedLocales since it's later used by LanguageDropdownField to exclude languages for which a translation already exists and LanguageDropdownField operates on array keys. 2012-02-12 21:58:28 +01:00
css MINOR Initial commit, moved files from 'sapphire' and 'cms' modules 2011-03-22 22:18:48 +13:00
docs/en MINOR Added documentation about 2011-06-09 11:32:33 +12:00
javascript BUGFIX Fixed createtranslation action (broken after moving to extension) 2011-03-23 10:15:49 +13:00
tests/unit MINOR Fixing TranslatableTest to work with new CMS preview feature in master (log out user to avoid redirection before checking URLs) 2011-07-09 15:47:10 +02:00
_config.php MINOR Initial commit, moved files from 'sapphire' and 'cms' modules 2011-03-22 22:18:48 +13:00
LICENSE MINOR Initial commit, moved files from 'sapphire' and 'cms' modules 2011-03-22 22:18:48 +13:00
README.md MINOR Added link to issue tracker 2011-03-29 21:00:36 +13:00

Translatable module for SilverStripe CMS

Introduction

Allows translation of DataObject and SiteTree records into multiple languages. See /docs/en/index.md for details.

Requirements

  • SilverStripe 3.0 (both cms and sapphire modules)

Maintainers

  • Ingo Schommer

Issues

See open.silverstripe.org

TODO

This module was originally part of the SilverStripe CMS core codebase. While the bulk of the logic has been separated out into this module, there are still many places across SilverStripe CMS which this modules relies on:

  • CMSBatchActionHandler->handleAction()
  • ContentController->handleRequest()
  • ContentController->ContentLocale()
  • ErrorPage::response_for()
  • LeftAndMain->init()
  • ModelAsController->getNestedController()
  • RootURLController::get_homepage_link()
  • SearchForm
  • SiteConfig
  • SiteTree->RelativeLink()
  • SiteTree->getSiteConfig()

These APIs mostly require either hooks for an Extension subclass, or refactoring to allow better customization.