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

feat(math): add translateUnicodeDigits #291

Merged
merged 2 commits into from
Sep 19, 2022
Merged

feat(math): add translateUnicodeDigits #291

merged 2 commits into from
Sep 19, 2022

Conversation

alimd
Copy link
Member

@alimd alimd commented Sep 19, 2022

Description

Replace all digital number in all languages to requested language.

Example:

translateUnicodeDigits('123 ߁߂߃ ੧੨੩ ٣٤٦', 'fa'); // ۱۲۳ ۱۲۳ ۱۲۳ ۳۴۶

Fixes #159

@alimd alimd added the new-feature New features or options. label Sep 19, 2022
@alimd alimd added this to the v1.0.0-beta milestone Sep 19, 2022
@alimd alimd requested a review from MM25Zamanian September 19, 2022 20:18
@alimd alimd self-assigned this Sep 19, 2022
@alimd
Copy link
Member Author

alimd commented Sep 19, 2022

@MM25Zamanian
برو حالشو ببر

@alimd alimd merged commit d9656f6 into next Sep 19, 2022
@alimd alimd deleted the feat/math branch September 19, 2022 20:20
@alimd alimd changed the title Feat/math feat(math): add translateUnicodeDigits Sep 19, 2022
@github-actions
Copy link

Pull Request closed and locked due to lack of activity.
If you'd like to build on this closed PR, you can clone it using this method: https://stackoverflow.com/a/14969986
Then open a new PR, referencing this closed PR in your message.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
new-feature New features or options.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

math number replacement to english
1 participant