Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-19684

content markup for languages

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Timed out
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      NOTE: This suggestion is for Confluence Cloud. Using Confluence Server? See the corresponding suggestion.

      Our confluence site currently hosts pages which are written in german, english and occassionaly spanish or russian. Everybody has its own take on how to put multiple languages on one page. Unfortunately there is no markup to specify a language for a content area. Also page titles would have to either respect this markup or use additional metadata.

      A macro in the style of

      {lang:de-DE}

      which displays content based on the users or default site language would probably be easy to implement.

      Textile however provides a nice way to create spans which can be supplied with a language attribute. The introduction of spans in wiki syntax would also provide powerful formatting possibilities without having to resort to HTML-like syntax like some plugins do.
      Here is how spans in german and english would look like:
      %[de-DE]Ein Paragraph in Deutsch%
      %[en-EN]A paragraph in english%
      You can try the full textile notation at http://textism.com/tools/textile/index.php

      Another approach would be to specify a language for the whole page. In practise this would be very impractical because often only parts of the page need to be translated, for example a summary. Other content like a spare parts list and the page structure are language neutral.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              schletti2000 Stefan Schletterer
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: