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

Translation issue: Invalid XML structure in message bundle

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: 2.0.0-RC2
    • Component/s: PHP
    • Environment:
      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

            • Assignee:
              Unassigned
              Reporter:
              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