Indeed, the current iink SDK doesn't have an API that would return the language of an existing contentPackage.
Neverthless, the good news is that the coming iink 2.0, will have a getLanguage() method, that will allow you to get the language used in a contentPart:
String myLanguage = contentPart.getLanguage();
The iink 2.0 is not yet available on our devloper portal. It normally plan to release it before end of June.
Best regards,
Olivier
H
Hedy Jiang
said
over 2 years ago
Where can I get iink What will change after the 2.0 release?
O
Olivier @MyScript
said
over 2 years ago
Dear Hedy,
thank you for the update.
All the answers to your questions will be in the delivery email.
As said above, the release is on its way.
Best regards,
Olivier
O
Olivier @MyScript
said
over 2 years ago
Answer
Dear Hedy,
You should have received an email notifying the iink 2.0 has been released.
We then recommend you update your applications with the latter.
In order to get the language of a Content Part, you can the corresponding function
Hedy Jiang
For example: in the beginning I created an I.iink using English; how do I get the language it uses when I open it next time.
Dear Hedy,
You should have received an email notifying the iink 2.0 has been released.
We then recommend you update your applications with the latter.
In order to get the language of a Content Part, you can the corresponding function
Let us know if you have any question.
Best regards,
Olivier
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstOlivier @MyScript
Dear Hedy Jiang,
thank you for contacting us and your question.
Indeed, the current iink SDK doesn't have an API that would return the language of an existing contentPackage.
Neverthless, the good news is that the coming iink 2.0, will have a getLanguage() method, that will allow you to get the language used in a contentPart:
The iink 2.0 is not yet available on our devloper portal. It normally plan to release it before end of June.
Best regards,
Olivier
Hedy Jiang
Where can I get iink What will change after the 2.0 release?
Olivier @MyScript
Dear Hedy,
thank you for the update.
All the answers to your questions will be in the delivery email.
As said above, the release is on its way.
Best regards,
Olivier
Olivier @MyScript
Dear Hedy,
You should have received an email notifying the iink 2.0 has been released.
We then recommend you update your applications with the latter.
In order to get the language of a Content Part, you can the corresponding function
Let us know if you have any question.
Best regards,
Olivier