Showing results for 
Search instead for 
Do you mean 
Community Home Request Access Read Blogs Share Your Ideas Search Community View My Settings
Reply
Bronze Elite Contributor
Posts: 514
Registered: ‎03-24-2009
Accepted Solution

SLXMobile Localisation

Hi All,

 

We have a customer testing v8 and found that users based in Sweden are unable to access the SLXMobile on any supported device (Please see attached screen shot) They are currently running v.7.5.4 SLXMobile and that works fine. Our customer narrowed the issue down to the device language settings. As soon as they switched the device from Swedish to English it works fine. Is this a bug or is there a way to present the language to all devices in English not matter what the device is configured for.

 

Any help will be appreciated!

Regards, Adam Travers
empath-e Services Limited
Gold Super Contributor
Posts: 3,087
Registered: ‎03-19-2009

Re: SLXMobile Localisation

They were using index.aspx - right?.. not html

--
RJ Ledger - rjledger@rjlSystems.net +1 603.369.3047 x101

".. Innovators in Mobility - Experts in Workflow Automation..."
http://www.rjlSystems.net - blog: www.rjlSystems.net/blog.html
Bronze Elite Contributor
Posts: 514
Registered: ‎03-24-2009

Re: SLXMobile Localisation

Hi RJ,


IIS is configured to use index.aspx and the same link has been distributed to the users (UK and Sweden) The UK users are fine but all Sweden users get the issue. I tested the scenario here on my phone and I can replicate the issue with the Eval database.

 

Regards, Adam Travers
empath-e Services Limited
Gold Super Contributor
Posts: 3,087
Registered: ‎03-19-2009

Re: SLXMobile Localisation

[ Edited ]

So basically there's a "bug" in the localization when an unsupported lang/locale is selected. Sounds like a fairly simple (mobile) code fix to me.

 

Suggest you make a post up on GH in the argos-saleslogix area - usually very quick service.. then you can download the "fix".. rebuild.. and go!

 

I may take a look myself later today as well.

--
RJ Ledger - rjledger@rjlSystems.net +1 603.369.3047 x101

".. Innovators in Mobility - Experts in Workflow Automation..."
http://www.rjlSystems.net - blog: www.rjlSystems.net/blog.html
Bronze Elite Contributor
Posts: 514
Registered: ‎03-24-2009

Re: SLXMobile Localisation

[ Edited ]

It is looking that way RJ. I have logged this with Sage UK just in case. A 'Simple' code fix, send it over then Smiley Very Happy

Regards, Adam Travers
empath-e Services Limited
Silver Contributor
Posts: 1,262
Registered: ‎04-08-2009

Re: SLXMobile Localisation

 

 

Hi,

 

I found that if you deploy slxmobile from AA it has a different index.html page.

In this case it automatically searches for the language using what ever mechanism.

If you use the github code and manually copy the stuff over you can hardcode one language in the index.html file which is used for all client.

The result is, that the client is displayed in that language regardless of the device configuration.

Bronze Elite Contributor
Posts: 514
Registered: ‎03-24-2009

Re: SLXMobile Localisation

Hi Alexander,

 

Many thanks for your response. Can you point me in the right direction for what needs to bet set within the HTML file.

 

 

Regards, Adam Travers
empath-e Services Limited
Gold Super Contributor
Posts: 3,087
Registered: ‎03-19-2009

Re: SLXMobile Localisation

[ Edited ]

If you set the default page to index.html vrs index.aspx.... force to "en"

 

<script type="text/javascript">// 
    (function() {
        var application = 'Mobile/SalesLogix/Application',
            configuration = [
			'configuration/production',
                        'configuration/backcompat/production',
			'configuration/errorLog/production',
                        'configuration/hashtag/production',
			'configuration/parent/production',
			'configuration/xyzzy/production'
                ];
        require([application].concat(configuration), function(application, configuration) {
            var localization = [
                'localization/en',
                'localization/saleslogix/en'
            ];
            require(localization.concat('dojo/domReady!'), function() {
                var instance = new application(configuration);

                instance.activate();
                instance.init();
                instance.run();
            });
        });
    })();
    
// </script>

 The other "built-in" languages are:

    en-GB

    de

    fr

    it

    ru

 

NOTE: The "configuration part" will NOT be the same as my example because mine has five (5) custom modules added in ;-) - yours will probably be just 'configuration/production'

--
RJ Ledger - rjledger@rjlSystems.net +1 603.369.3047 x101

".. Innovators in Mobility - Experts in Workflow Automation..."
http://www.rjlSystems.net - blog: www.rjlSystems.net/blog.html
Bronze Elite Contributor
Posts: 514
Registered: ‎03-24-2009

Re: SLXMobile Localisation

Excellent!

 

Many thanks RJ!

Regards, Adam Travers
empath-e Services Limited
Gold Super Contributor
Posts: 3,087
Registered: ‎03-19-2009

Re: SLXMobile Localisation

You are welcome Adam!

 

There is a TON of "hidden gems" in the mobility product/package.. this is just one of them. Every day I find a new one.. and that's after working on it since "pre-beta" of the 1.0 about 2 years ago. 

--
RJ Ledger - rjledger@rjlSystems.net +1 603.369.3047 x101

".. Innovators in Mobility - Experts in Workflow Automation..."
http://www.rjlSystems.net - blog: www.rjlSystems.net/blog.html