Uploaded image for project: 'Shindig'
  1. Shindig
  2. SHINDIG-1372

Translation issue: Invalid XML structure in message bundle

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0
    • 2.0.0-RC2
    • PHP
    • WAMP / Windows XP

    Description

      Hi,

      I have a multi-language widget, and i noticed an issue concerning message bundle
      Here is how translation files are imported:

      <Locale lang="de" messages=" ... /messages-DE.xml"/>
      <Locale lang="en" messages=" ... /messages-EN.xml"/>
      <Locale lang="fr" messages=" ... /messages-FR.xml"/>
      <Locale lang="es" messages=" ... /messages-ES.xml"/>
      <Locale messages=" ... /messages-default.xml"/>

      Shindig returns an "Invalid XML structure in message bundle" error. The widget works fine if i remove the line:

      <Locale messages=" ... /messages-default.xml"/>

      It seems that Shindig does not like when the "lang" parameter is not specified in a Locale tag.

      Regards,

      kcyril

      Attachments

        Activity

          People

            Unassigned Unassigned
            kcyril kcyril
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 3h
                3h
                Remaining:
                Remaining Estimate - 3h
                3h
                Logged:
                Time Spent - Not Specified
                Not Specified