cancel
Showing results for 
Search instead for 
Did you mean: 

Localization in Syclo Agentry for Spanish and German

former_member186566
Active Participant
0 Kudos

Hi,

I’m using Agentry version 6.0.32.0 and I want to enable localization for Spanish and German. I did the below steps to enable it.

Case 1:

·         In [configuration] part of the Agentry.ini file, I have enabled the localizations and set parameter for Spanish and German. Ex. Localizations=de;es.

·         Restarted the server and reset the Agentry client, but sadly it’s not working when I changed the localization in my iPad.

Case 2:

·         As in the Case 1, I have enabled the localizations parameter.

·         Then I have added additional field ‘LocalizationPath’ in [configuration] part of Agentry.ini
localizationPath=localizations
localizations=de;es

·         Then I have pasted the related AgentryText files, Globals files, ClientText files within the ‘localizations’ folder for Spanish and German languages.

·         This is also not working.

The below is my detailed [configuration] part of Agentry.ini file.

[Configuration]

developmentServer=True

enableOverrideFile=Enables.ini

clientStringsFile=ClientText.ini

applicationStringsFile=ApplicationText.ini

applicationGlobalsFile=Globals.ini

clientStringNamesFile=ClientStringNames.ini

overrideTypesFile=OverrideTypes.ini

transmitConfigurationFile=TransmitConfigurations.ini

enableTransactionFailureHandling=false

enableFailedTransactionLogging=true

failedTransactionsQueue=FailedTransactionsQueue

failedTransactionFilenameFormat=%{userid} %{transaction_name} %{date} %{time}-%{count}.xml

apnsEnabled=true

apnsCertificateDirectory=apnsCertificates

apnsCertificatePassword=xxxxxxxxxxxxxxxx

apnsCertificatePasswordEncoded=true

trustedCertificateStore=

localizationPath=localizations

localizations=de;es

Did anyone have implemented this? Pls help me to fix this issue.

Thanks in advance.

Regards

Yokesvaran Kumarasamy

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Have you update the localizations files with the vales for the each language?  By default the values are what was entered into the editor.

former_member186566
Active Participant
0 Kudos

hi steve,

Yaa i have updated all the localization files properly. but its not working.

Somewhere i read that, all the properties fields of base localization files should also be mapped with other language localization files. If not mapped properly then again it will load the default base localization files in client device. I have verified this also, but still its not working.

my doubt is verifying and mapping properties of ClientText.ini, ApplicationText.ini, Globals.ini are enough or is there anything else i have to do?

Regards

Yokesvaran Kumarasamy

tahir_z
Contributor
0 Kudos

Can you check the startup.log file if you can see localization loaded in success as follow.

Event: 20, 152, Loading Production application definitions for 'tr' localization

Event: 20, 153, Finished loading Production application definitions for 'tr' localization

Regards,

Tahir

former_member186566
Active Participant
0 Kudos

Yaaa I can see the loading definitions in startup logs...

What exactly you did for localization? In which device? And by changing internationalization in settings it works. Isn't it?

Regards

Yokesvaran kumarasamy

tahir_z
Contributor
0 Kudos

Well all things above i did and worked on Ipad. Make sure your device language should be Germany or Spanish too.

Regards,

Tahir

Former Member
0 Kudos

Hi Tahir,


If Android device system language is English, Agentry Client works correctly. But when i change device system language to Turkish, client gives error during transmit and shuts down.


I add "localizations=tr" to Configuration part on Agentry.ini as you said.

Here is my language part in JavaBE.ini file;

[LANGUAGE]

LANG=EN-en;TR-tr


I also add global parameter on SAP Framework Configuration like this document;

If I do not add "localizations=tr" field, AgentryServer starts correctly but Android client (Lang:Turkish) shuts down while first transmit. If I add "localizations=tr" field, AgentryServer gives " Localization Exception (Skipping the 'tr' localization because no matching override files were found. )"

Can you help me about this language problem?

Best Regards,
Serkan DEMIR

tahir_z
Contributor
0 Kudos

Hi Serkan,

You configuration looks correct. Have you tried on IPad device ?

Please make sure that your device is supported by Syclo, you can check in  Agentry Certified Supported Mobile Devices list : Supported Devices

Regards,

Tahir

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

Serkan,

You really should open this as a new discussion so you can mark it solved once you have a solution since you didn't open the original thread.

That said, I think you may have your configurations switched.  The Agentry.ini localizations should be the following to support both English and Turkish.

[Configuration]

localizationPath=Languages

localizations=en;tr

Since you don't have any dialects for these you only need to specify the language.

The JavaBE.ini language should be the following to tell SAP to always use English on the backend.

[LANGUAGE]

LANG=EN

In your startup.log you should then see the localizations loaded.  Make sure your translation files are in place and test from a device set to the appropriate language or use the localization test features of the ATE.

--Bill

Former Member
0 Kudos

Hi Tahir,

I do not get device language problem on iOS devices. It just happens on Android platform. I'm working on development server, is it important?

Best Regards,
Serkan DEMIR

Message was edited by: Serkan Demir

Former Member
0 Kudos

Hi Bill,

There is no problem on iOS and ATE. It occurs only on Android platform when device language is non-English even localization is configured.


Is this problem may related with re-branding or not?

Regards,
Serkan DEMIR

tahir_z
Contributor
0 Kudos

Hi Yokesvaran,

I have tried that case 1 worked for me. Are you testing on real device ?

Regards,

Tahir

former_member186566
Active Participant
0 Kudos

Thanks for your respons Tahir,

Did you set any congig changes in SAP back end? language setup for users or user group?

I too tested this in iPad device, but no luck.

Can you share [configuration] part of Agentri.INI?

Thanks & regards

Yokesvaran kumarasamy

tahir_z
Contributor
0 Kudos

I didn't set any changes in back-end system.

Here is my .ini Configuration part

[Configuration]

developmentServer=False

enableOverrideFile=Enables.ini

clientStringsFile=ClientText.ini

applicationStringsFile=ApplicationText.ini

applicationGlobalsFile=Globals.ini

clientStringNamesFile=ClientStringNames.ini

overrideTypesFile=OverrideTypes.ini

transmitConfigurationFile=TransmitConfigurations.ini

enableTransactionFailureHandling=false

enableFailedTransactionLogging=true

failedTransactionsQueue=FailedTransactionsQueue

failedTransactionFilenameFormat=%{userid} %{transaction_name} %{date} %{time}-%{count}.xml

apnsEnabled=true

apnsCertificateDirectory=apnsCertificates

apnsCertificatePassword=Rzdrj~SwixoAqzmbVxgi

apnsCertificatePasswordEncoded=true

gcmEnabled=true

gcmServerLink=https://android.googleapis.com/gcm/send

gcmServerAuthorizationKey=Authorization:key=

trustedCertificateStore=

localizations=tr

Regards

Tahir

former_member186566
Active Participant
0 Kudos

Thanks Tahir,

Configuration part looks good. Can you share one more information, whether you can locate the files clienttext.INI, applicationtext.INI, and globals.INI which you have set in configuration part.

Regards

Yokesvaran kumarasamy

tahir_z
Contributor
0 Kudos

Hi Yokesvara,

I have placed the localization files to the directory where installed Agentry server.

Regards,

Tahir

Former Member
0 Kudos

When using one language you can just place the files withing the root level of the server folder, but when using multiple you need to put it the localizations folder.

Also the files need to be names like:

ApplicationText.es.ini


<name of file>.<language>.ini