Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-9466

Create a new method Document.getTranslatedDocument(language) to get a new translated Document

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • None
    • 5.1
    • Old Core
    • None
    • Unknown

    Description

      Currently Document.getTranslatedDocument(language) returns the translated document only if it exists in db, otherwise it returns the original document. Extend this method with a boolean flash to force the creation of a new translated document when that doesn't exists in db to be able to manipulate programatically the translations.

      Attachments

        Activity

          People

            Unassigned Unassigned
            flavius.olaru Flavius Olaru
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: