IBM Support

PI23534: WL.APP.GETDEVICELANGUAGE() METHOD RETURNS THE WRONG VALUE ON IOS DEVICES

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • On iOS device, the WL.App.getDeviceLanguage() method returns the
    language associated with the Region Format instead of the
    preferred language.
    

Local fix

  • No workaround available.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Worklight developers building applications for iOS           *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * when calling WL. App. getDeviceLocale () user was always     *
    * getting en_US                                                *
    * WL. getDeviceLanguage() returned only the language letters   *
    * and not the full name                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * -                                                            *
    ****************************************************************
    

Problem conclusion

  • the WL. App.getDeviceLocale()will return the full language +
    country pattern like in 6.2
    getDeviceLanguage will continue the return only the language
    letters (any one needs more then that should use getDeviceLocal)
    
    this behaviour already applied in 6.2
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI23534

  • Reported component name

    WORKLIGHT ENTER

  • Reported component ID

    5725I4300

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-08-08

  • Closed date

    2014-08-25

  • Last modified date

    2014-08-25

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WORKLIGHT ENTER

  • Fixed component ID

    5725I4300

Applicable component levels

  • R610 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSZH4A","label":"IBM Worklight"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 October 2021