Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hindi language #1603

Closed
RanSlidely opened this issue May 6, 2019 · 6 comments
Closed

Hindi language #1603

RanSlidely opened this issue May 6, 2019 · 6 comments

Comments

@RanSlidely
Copy link

HI,
I have an error in the Lottie player when trying to used and hindi language.
currentChar = documentData.finalText[i];
charCode = currentChar.charCodeAt(0);

the issue is the wrong string length
आपका लेख this return a length of 8 but it 6 characters.

If there is any why to fixed it or to work around it

Thanks
Ran

@bodymovin
Copy link
Collaborator

bodymovin commented May 6, 2019

hi, can you share a reduced .aep to test?

@RanSlidely
Copy link
Author

we change dynamically the text in the JSON before we set the JSON file in the player.
it reproduce in any file.
I will try to send you a file for the test ASAP.
Thanks

@RanSlidely
Copy link
Author

HI,
we create a simple animation with Hindi text.
the issue is the text string in count more characters, it is a js issue.
I think that you should loop differently on the string.
I think that it can happen also in a diffrent language

hindi animation.zip

let me know
we need this ASAP.

Thanks,
Ran

@RanSlidely
Copy link
Author

There is any news?

@bodymovin
Copy link
Collaborator

Hi, this should be fixed on the last player version.

@RanSlidely
Copy link
Author

Thanks, I check it and it works if we will have any issues I will let you know.
Thanks for the quick fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants