Language Dialects

This forum allows users to post and respond to "How Do I Do ....." questions. The information contained in this forum has not been validated by K-Rise Systems and, as such, K-Rise Systems cannot guarantee the accuracy of the information.
CathyC
Posts: 469
Joined: November 16th, 2021, 11:15 am
Contact:

Language Dialects

Unread post by CathyC »

With the Language feature, Google translate only allows for 1 German language. But I have an application where we would like to eventually have Austrian German and German German.

Since the Google Translate API service is only needed for the initial use, I could copy the existing dictionary for German and import it as a new language German-Austria. That almost solves the problem. The only issue is when a new message is added that needs to be translated again. For German-German, it runs the API and gets the new translation from the Google Translate service. For German-Austria it tries to run the service, but it passes in German-Austria and the API does not accept this value, so it doesnt find a translation. So in German-Austria language, the new text is shown in English. It is preferred that it too can get the german translation. Then if that latest translation is wrong, it can be edited in the dictionary.

The preferred functionality is for each language to store a name and a code that it uses to give to the Google Translate API if it needs more translations.
word count: 192

Tags:
SumanPrasad
Posts: 88
Joined: August 26th, 2021, 5:21 pm
Contact:

Re: Language Dialects

Unread post by SumanPrasad »

We will address this by adding a new column in language master : APILanguageId. Then you can use this new column to set to 'German' to be able to translate using Google API while language can still be 'German-Austria' which is not a valid google language Id.
Task 10315 is created to address this. We will update this task when this is released.
word count: 63
JustinVanRegenmorter
Posts: 529
Joined: August 26th, 2021, 9:56 am
Contact:

Re: Language Dialects

Unread post by JustinVanRegenmorter »

This change has been implemented as of DesignTime Revision 2244 and RunTime Revision 946.
word count: 14
CathyC
Posts: 469
Joined: November 16th, 2021, 11:15 am
Contact:

Re: Language Dialects

Unread post by CathyC »

What should I do to begin using this feature?

Here is the IDE work with translations page for me
Attachments
Col_IDE_workwithtranslations.PNG
word count: 19
SteveCap
Posts: 327
Joined: August 26th, 2021, 9:18 am
Contact:

Re: Language Dialects

Unread post by SteveCap »

Go to work with languages under setup.
image.png
Click on add language.
image.png
Select the main language and check the add dialect checkbox and give it an id.
image.png
image.png (8.44 KiB) Viewed 1058 times
image.png
image.png (8.44 KiB) Viewed 1058 times
word count: 42
CathyC
Posts: 469
Joined: November 16th, 2021, 11:15 am
Contact:

Re: Language Dialects

Unread post by CathyC »

I set it up but this screen seems a little confusing.

It asks for languageid and based on the previous screen I know this is meant for the 2 letter code. But if I put de here, then I will end up with another German-German language. So I put Austrian and it worked out alright, its just not apparent that its the right thing to do until after you do it
Language Dialect Setup.png
Can the wording be improved to something like this?

This is how I imagine it showing on the work with language page grid:
NameAPILanguageIdRoot Language
Austrian GermandeGerman
GermandeGerman
EnglishenEnglish
where Name is something like a Friendly Name, Alias, or Nickname

Here is my mockup:
Proprosed Language Dialect Setup.png
word count: 116
SteveCap
Posts: 327
Joined: August 26th, 2021, 9:18 am
Contact:

Re: Language Dialects

Unread post by SteveCap »

Task #10447 has been created. We will follow your mockup.
word count: 10
JustinVanRegenmorter
Posts: 529
Joined: August 26th, 2021, 9:56 am
Contact:

Re: Language Dialects

Unread post by JustinVanRegenmorter »

Issue has been resolved as of DesignTime Revision 2301.
word count: 9
CathyC
Posts: 469
Joined: November 16th, 2021, 11:15 am
Contact:

Re: Language Dialects

Unread post by CathyC »

I noticed in the Work with Translations page, the name given in the drop down is confusing also. Can it be instead:

Nickname (Root Language)
Translation Names Unclear.png
word count: 25
CathyC
Posts: 469
Joined: November 16th, 2021, 11:15 am
Contact:

Re: Language Dialects

Unread post by CathyC »

Can there also be a search bar added to the language patterns page?
Attachments
Language Patterns has no search bar.PNG
word count: 13
Post Reply