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 in Others by gaurav
• 18,960 points
12 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 by rajatha
• 7,440 points

Related Questions In Others

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 22 in Others by gaurav
• 18,960 points
11 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 in Others by gaurav
• 18,960 points
14 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
1,259 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 in IOS by Soham
• 9,330 points
8 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
270 views
0 votes
1 answer

How do I create folder under an Amazon S3 bucket through PHP API?

Of Course, it is possible to create ...READ MORE

answered Apr 24, 2018 in AWS by anonymous
9,434 views
0 votes
1 answer

Detecting BLE beacons that are not ibeacons on IOS

You'll have to understand that CoreLocation is ...READ MORE

answered Aug 1, 2018 in IoT (Internet of Things) by nirvana
• 3,130 points
437 views
0 votes
1 answer

iOS Keyboard Extension: Memoji like paste

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

answered Sep 21 in Others by rajatha
• 7,440 points
11 views
0 votes
1 answer

Load Animated gif in UIImageView IOS

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

answered Sep 21 in Others by rajatha
• 7,440 points
12 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