I am working multilingual mobile app and in OnApplicationReady and Login actions we are using AddTranslations and setLocale actions when these actions are invoked getting an error "script error for "Text" http://requirejs.org/docs/errors.html#scipterror "This issue occurs when i try to login to mobile app for first time,when i close the error message and click on login -It goes sucessfully.Note: The app works fine in browser,Outsystems Now ,only problem is when you install the mobile app on your device and try to run the app.Can someone give some inputs to fix this error,Please!
Hi,
Did you use this component ? https://www.outsystems.com/forge/component-overview/1784/multilingual-component
Better ask question in the component discussion, so the author will notified.
Thanks
Hi Naren,
Not really sure what could be the problem, maybe you should open a support case with that.
Cheers,Tiago Simões
PS: you might want to know that we've just released a new version where mobile and reactive translations can be done directly inside Service Studio.
I tried with the reactive application and it’s working fine. Kindly follow the below steps and hope it's useful for you. - Thanks
1. To Add the OS Forge component “Multilingual” in Manage Dependencies
2. Create "json” file”
3. In the Data tab have the Client variable Folder & To create a new variable in Client variable folder location
4. To add the attribute in the displayed component and set display message: data-trans & set the unique Id’s (json file)
5. Client Action: OnApplicationReady
Set SessionMultilingual (Assign the variable)
Set Resources URL (Add AddTranslationsFromResource : MultiLingual JSON file)
SetLocale (Client.SessionMultilingual)
6. Finally, Front end webscreen Client action (SelectLanguageOnClick) assignments
Set SessionMultilingual (assign the client variable)
7. End.