MySpace Developer Platform

A Place For Developers

Welcome Developers!

in

Welcome!

in

The value "all" in the "lang" attribute is not valid

Last post 06-16-2008 1:46 AM by Ben. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 05-14-2008 3:40 AM

    The value "all" in the "lang" attribute is not valid

    Hi!

    I'm having some troubles to submit my application to the gallery. I have in my ModulePrefs the following element:

    <ModulePrefs ... >
    <Locale lang="pt" country="ALL" messages="http://www.imusicfactory.com/opensocial/web/locale/pt_ALL.xml"/>
    <Locale lang="all" country="ALL" messages="http://www.imusicfactory.com/opensocial/web/locale/en_ALL.xml"/>
    ...
    </ModulePrefs>

    So all the languages that are not "PT"(Portuguese) use English language. This works for Hi5, but how can I do this in MySpace?

    Best regards,

    Daniel Botelho 

     

  • 05-14-2008 4:35 AM In reply to

    Re: The value "all" in the "lang" attribute is not valid

    I have changed my langs to:

    <ModulePrefs ... >
    <Locale lang="pt" country="ALL" messages="http://www.imusicfactory.com/opensocial/web/locale/pt_ALL.xml"/>
    <Locale country="ALL" messages="http://www.imusicfactory.com/opensocial/web/locale/ALL_ALL.xml"/>
    ...
    </ModulePrefs>

    But now, no language is supported and I just get my application with alot of "__MSG_xx__"... :S

    Firebug also reported erros using "tabs" and "_IG_Analytics"..  The application is located at "http://profile.myspace.com/Modules/Applications/Pages/Canvas.aspx?appId=108611" and the XML in "http://www.imusicfactory.com/opensocial/web/index.php/palco.xml".

    If someone could see what is wrong please let me know! This app works fine in Hi5.com and orkut.

    Best regards,

    Daniel Botelho 

  • 05-14-2008 11:55 AM In reply to

    • Brian
    • Top 100 Contributor
    • Joined on 02-20-2008
    • Posts 32
    • MDP Team

    Re: The value "all" in the "lang" attribute is not valid

    Daniel:

    I have changed my langs to:

    <ModulePrefs ... >
    <Locale lang="pt" country="ALL" messages="http://www.imusicfactory.com/opensocial/web/locale/pt_ALL.xml"/>
    <Locale country="ALL" messages="http://www.imusicfactory.com/opensocial/web/locale/ALL_ALL.xml"/>
    ...
    </ModulePrefs>

    But now, no language is supported and I just get my application with alot of "__MSG_xx__"... :S

    Firebug also reported erros using "tabs" and "_IG_Analytics"..  The application is located at "http://profile.myspace.com/Modules/Applications/Pages/Canvas.aspx?appId=108611" and the XML in "http://www.imusicfactory.com/opensocial/web/index.php/palco.xml".

    If someone could see what is wrong please let me know! This app works fine in Hi5.com and orkut.

    Best regards,

    Daniel Botelho 

    Thank you so much for providing a link to your XML.

    As it seems you have figured out, in order to support "all" just omit the attribute.

    MySpace does not support message substitution in the content yet, only in the title, description, and thumbnail attributes.

  • 06-16-2008 1:46 AM In reply to

    • Ben
    • Not Ranked
    • Joined on 05-25-2008
    • Posts 1

    Re: The value "all" in the "lang" attribute is not valid

     Brian (and other mdp team members),

    Do you have any estimation as to when message substitution for content will be done?

    Thanks 

Page 1 of 1 (4 items)