ios localize emoji name kCFStringTransformToUnicodeName

0 votes

i have an app that will display some emojis and the correspondent name. i'm using kCFStringTransformToUnicodeName to get the name. but i want to localize the name like macOS, as you can see in the attached picture, macOS localize "Grinning Face" to "visage avec large sourire".

could you tell me how to localize these names and if there's no API, where can i found the localization files used by macOS. thank you.

enter image description here
 

Sep 21, 2022 in Others by gaurav
• 23,260 points
745 views

1 answer to this question.

0 votes

There is no api for this job. Unicode character name is standardized only in English.

The macOS use localization files to achieve this.

You can find the location of The CharacterPalette app:

  1. Option+click on the  Apple menu and choose ‘System Information’ (called ‘System Profiler’ in earlier releases of OS X).

  2. From the side menu, look under ‘Software’ and choose “Applications”

My app's location looks like this:

enter image description here

Locate the CharacterPalette.app,right click -> show package,you can find the localization files :

enter image description here

But I can't open it correctly , the file is full of unreadable code.Maybe it's encrypted.

You may have to copy paste the names one by one.

answered Sep 21, 2022 by rajatha
• 7,640 points

Related Questions In Others

0 votes
1 answer

Is there a way to generate high resolution PNGs of iOS emoji?

Step 1: Visit Google Play Store on ...READ MORE

answered Nov 4, 2022 in Others by gaurav
• 23,260 points
312 views
0 votes
0 answers

Is there a way to generate high resolution PNGs of iOS emoji?

I have been able to find 160x160 ...READ MORE

Sep 23, 2022 in Others by gaurav
• 23,260 points
224 views
0 votes
1 answer

What is a name function in JavaScript & how to define it?

A named function declares a name as ...READ MORE

answered Mar 7, 2019 in Others by Frankie
• 9,830 points
4,230 views
0 votes
1 answer
0 votes
0 answers

Convert Apple Emoji (String) to UIImage

I require every Apple Emoji. I can copy ...READ MORE

Sep 22, 2022 in IOS by Soham
• 9,700 points
405 views
0 votes
0 answers

How do I stop iOS from converting a small pointing right triangle character into a rectangluar boxed triangle symbol?

 I've tried entering the small pointing right ...READ MORE

Nov 16, 2022 in Mobile Development by gaurav
• 23,260 points
194 views
0 votes
1 answer

Is there a lightweight method to check if emoji is supported in iOS?

You can easily override theme by wrapping ...READ MORE

answered Dec 12, 2022 in Mobile Development by gaurav
• 23,260 points
334 views
0 votes
1 answer

Find length of string in R

You can try nchar > nchar("fast") [1] 4 > set.seed(10) > ...READ MORE

answered Apr 17, 2018 in Data Analytics by DataKing99
• 8,240 points
680 views
0 votes
1 answer

iOS Keyboard Extension: Memoji like paste

All the mentioned apps use UITextView, upon ...READ MORE

answered Sep 21, 2022 in Others by rajatha
• 7,640 points
527 views
0 votes
1 answer

Load Animated gif in UIImageView IOS

Load GIF image Swift : ## Reference. #1 : ...READ MORE

answered Sep 21, 2022 in Others by rajatha
• 7,640 points
7,730 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP