Go to file
Niklas Forsdahl 1c40751d51 BUG: double ajax request for page editing in default locale
When editing a page in the default locale, a double ajax request was done for the editing page.
This was caused by no locale-parameter being set in this case, which caused the default locale
parameter to be added and a new ajax request was made due to this. The extra ajax request caused
the loading-animation to appear after the edit page was loaded, which looks weird.
Fixed by doing a redirect immediately the CMSPagesController is loaded and no locale is set, so
that the default locale parameter gets set at this stage.
2012-09-03 11:10:54 +03:00
code BUG: double ajax request for page editing in default locale 2012-09-03 11:10:54 +03:00
css BUGFIX 3.0 compatibility: Query manipulation, CMS links, separation of settings fields, new place for language selector on tree 2012-05-15 23:04:57 +02:00
docs/en Updated screenshots, added note about UTF8 urls 2012-08-08 11:23:52 +02:00
javascript Translation of SiteConfig 2012-08-06 09:39:46 +02:00
lang Added translations for en, en_GB and german 2012-08-11 06:44:33 +02:00
tests/unit BUGFIX 3.0 compatibility: Query manipulation, CMS links, separation of settings fields, new place for language selector on tree 2012-05-15 23:04:57 +02:00
_config.php Translation of SiteConfig 2012-08-06 09:39:46 +02:00
composer.json Added composer.json 2012-08-15 22:18:06 +02: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.