Explore best practices for creating inclusive apps that cater to users with diverse abilities

Learn More

Posts under General subtopic

Post

Replies

Boosts

Views

Activity

String Catalogs won't import translated .xliff
We use a localization service that allows us to export our translated strings in .xliff format. When I import the spanish (es.xliff) file into the string catalogs it imports the english keys and leaves the spanish translation column empty, which causes it to default to English. I created feedback 12429535 and 12429469 because it seems the feedback site is broken and shows it cannot find the feedback I just submitted.
0
0
929
Jun ’23
String Catalog does not work with deployed App
I migrated to String Catalog in my app. That worked fine, and everything is OK in the Simulator and even on a real device. However, After I deployed the App and it became available in the AppStore, I started receiving Feedback from some users. Seems my app is no longer doing localization. It always presents itself in its development language. Has anyone else experienced this?
1
1
1.3k
Jul ’23
English to English translation?
My app supports English and another language. The English string catalog is empty. Running the app in English in Xcode 15 beta 3, all strings are displayed in capital letters. It seems the behavior when translations are missing. Do we need to translate each English key into the same English translation, or is it a bug?
3
0
959
Jul ’23
NSLocale countryCode is 419
Hello, Upon registration to be able to localise the App for the users I am requesting the countryCode: (Locale.current as NSLocale).object(forKey: NSLocale.Key.countryCode) as? String Most of the values are the one expected ("US", "GB", "DE", ...), however in some cases I have numeric country codes like "419" or "241". I wanted to know if this was expected and how I can make them fallback to the regular country code that are none numeric. Thank you
3
0
1.5k
Sep ’23
App is terminated when user changes language
Dear Experts, NSLocale has a notification NSCurrentLocaleDidChangeNotification and a property autoupdatingCurrentLocale ("A locale which tracks the user’s current preferences"). These suggest that an app should be able to detect when the user changes their language preference while running, or when it is resumed from the background. In practice, when I change language in the Settings app (either globally or just for my app), the app is terminated by iOS and restarts with new locale. Is this the expected behaviour? I am wondering if there is something I need to do to advertise that the app can adopt language changes without restarting, or something. Maybe only date-time formats, etc., trigger the notification but language changes don't?
2
0
1.6k
Jul ’23
Assistive Access - Call and Text Restrictions
Let me just start by saying that I absolutely love this mode, but in it's current form I find it nearly unusable. Not sure if the following are bugs or intended features. Going into assistive mode means you can't make calls by default. The only way to output calls is by adding each and every single contact manually by clicking 'Make Calls To Selected Contacts' and adding them. The option 'Receiving calls from' allows you to select 'All Contacts'. The 'Make Calls To' sections would benefit significantly from the addition of an 'All Contacts' option. Worth mentioning that I did receive a call from an unknown number, despite it not being added to my contacts (this is the behaviour I would expect, but it's relevant for the following point) Similarly to the above, but much more egregious, you have to add each contact individually to the 'Send Messages To' or otherwise there will be no space to begin typing. BUT, messages from non-contacts are not received whatsoever. I can confirm not receiving any google verification codes and a text from a co-worker whose phone number I had not yet saved. I find it paramount to have the option to receive any text that reaches the phone. Lastly, the text window could just behave and look like the 'regular text' window. It feels a bit cumbersome in it's current iteration. A couple other minor things I noticed: The Ring/Silent switch seems to not function. Typing makes the sound effect despite the switch being off. WhatsApp will play a notification sound, but there is no visual queue to inform that it came from WhatsApp resulting in having to manually look through for the notification's origin. Looking forward to continue watching this feature evolve !
1
0
1.2k
Aug ’23
AppShortcuts.strings ${applicationName} should not be mandatory on the localizable key : Invalid Utterance. Every App Shortcut utterance should have one '${applicationName}' in it.
Xcode 15 beta 6 : Xcode is looking for "${applicationName}" in the strings file keys instead of the value only. (it was working on Xcode 14) error : Invalid Utterance. Every App Shortcut utterance should have one '${applicationName}' in it.
5
1
1.7k
Aug ’23
Missing string catalog
I have an App with multiple string catalogs. I mistyped the name of a table in one of my String(localized: "Some English Text", table "nonExistingTable") instances. I did not receive a compile-time warning telling me the table was missing and my application defaulted to the English text instead. Is this expected behaviour or a bug?
1
0
1.1k
Aug ’23
Accessibility Kit caused carsh
*** Crash Message: -[UIWindow _accessibilityFindSubviewDescendant:]: unrecognized selector sent to instance 0x13118ca70 *** we collected more than 10K+ reports with same call stack, the almost form Accessibility Kit. but no idea how to fix it and no reason why. could take some help please 4. CoreFoundation 0x00000001d0735900 _CF_forwarding_prep_0 + 96 5 AccessibilitySettingsLoader 0x000000025a97608c 70360165-7515-35AD-9723-C4719EB48D13 + 102540 6 AccessibilityUtilities 0x00000001d9bfa720 AXPerformSafeBlockWithErrorHandler + 112 7 AccessibilityUtilities 0x00000001d9bfb258 AXPerformSafeBlock + 56 8 AccessibilitySettingsLoader 0x000000025a976014 70360165-7515-35AD-9723-C4719EB48D13 + 102420 9 AccessibilitySettingsLoader 0x000000025a975ed8 70360165-7515-35AD-9723-C4719EB48D13 + 102104 10 AccessibilitySettingsLoader 0x000000025a97720c 70360165-7515-35AD-9723-C4719EB48D13 + 107020 11 AccessibilityUtilities 0x00000001d9c7be40 265BEA5E-C36A-3E51-A119-A3FD42F3DB5C + 552512 12 AXCoreUtilities 0x00000001db850530 AXPerformBlockSynchronouslyOnMainThread + 72 13 AXCoreUtilities 0x00000001db84faa0 774B92BE-E295-3FDC-99A4-5EFB55BA70C5 + 6816 14 AccessibilityUtilities 0x00000001d9c7b8d0 265BEA5E-C36A-3E51-A119-A3FD42F3DB5C + 551120 15 AccessibilitySettingsLoader 0x000000025a976ed4 70360165-7515-35AD-9723-C4719EB48D13 + 106196 16 AccessibilityUtilities 0x00000001d9c74178 265BEA5E-C36A-3E51-A119-A3FD42F3DB5C + 520568 17 AccessibilityUtilities 0x00000001d9bfff54 265BEA5E-C36A-3E51-A119-A3FD42F3DB5C + 44884 18 AccessibilityUtilities 0x00000001d9bfca28 265BEA5E-C36A-3E51-A119-A3FD42F3DB5C + 31272 19 libdispatch.dylib 0x00000001d7b7feac 5D16936B-4E4C-3276-BA7A-69C9BC760ABA + 16044
1
0
692
Sep ’23
Punctuation missing from system font when Chinese language is selected
Dear experts, I get glyphs from the system font using CTFontGetGlyphsForCharacters, something like this: UIFont* uifont = [UIFont monospacedDigitSystemFontOfSize: s weight: w]; CTFontRef font = (__bridge CTFontRef)uifont; CTFontGetGlyphsForCharacters(font, ....); The characters that I ask for are basically latin-1 plus a few others. The app is not localised for Chinese. When I change the phone's default language to Chinese, this code gets glyphs for most characters OK but it fails for a few punctuation symbols: 91 = [ 93 = ] 183 = middle dot 8220 = left double curly quote 8221 = right double curly quote Can anyone guess what's going on here? What's special about those characters? Thanks, Phil.
0
0
839
Sep ’23
String Catalogs won't import translated .xliff
We use a localization service that allows us to export our translated strings in .xliff format. When I import the spanish (es.xliff) file into the string catalogs it imports the english keys and leaves the spanish translation column empty, which causes it to default to English. I created feedback 12429535 and 12429469 because it seems the feedback site is broken and shows it cannot find the feedback I just submitted.
Replies
0
Boosts
0
Views
929
Activity
Jun ’23
Personal Voice option missing from Accessibility Settings
In the Settings App, when I go to Accessibility, the only item listed in the SPEECH section is Live Speech. Can I create a personal voice on an iPad? I am using an iPad 8th gen 32 GB, running iPadOS 17 beta 2 (17.0, 21A5268h)
Replies
11
Boosts
3
Views
4.5k
Activity
Sep ’23
How to select a datalist option in Safari?
How can a MacOS user, who can only use a keyboard, select a datalist option on Safari? So far, it is possible to highlight an option using the arrow keys, but when the desired selection is found and highlighted, there is no way to select that option. Combinations Used: Enter + [Shift | Control | Option Command]
Replies
1
Boosts
0
Views
690
Activity
Jun ’23
Is there a public API that I may check the DND status
I'm currently working on a music program that I may want the DND status to provide suitable music recommendations to users. I searched the main page of API on APPLE.com but found nothing similar. So is it possible I can get access to such API?
Replies
1
Boosts
0
Views
812
Activity
Jul ’23
String Catalog does not work with deployed App
I migrated to String Catalog in my app. That worked fine, and everything is OK in the Simulator and even on a real device. However, After I deployed the App and it became available in the AppStore, I started receiving Feedback from some users. Seems my app is no longer doing localization. It always presents itself in its development language. Has anyone else experienced this?
Replies
1
Boosts
1
Views
1.3k
Activity
Jul ’23
English to English translation?
My app supports English and another language. The English string catalog is empty. Running the app in English in Xcode 15 beta 3, all strings are displayed in capital letters. It seems the behavior when translations are missing. Do we need to translate each English key into the same English translation, or is it a bug?
Replies
3
Boosts
0
Views
959
Activity
Jul ’23
Unable to remove/delete a language
When adding a new language I added something I don't intend on supporting however you are unable to delete an added language once added. Yes, I could edit the file as source code and remove all the e.g. de-DE references but that shouldn't be needed. Edit: Submitted this as feedback via FB12576340
Replies
1
Boosts
0
Views
1k
Activity
Jul ’23
Assertion message: Ignoring attempt to add focus items in already-visited container. This can potentially cause infinite recursion.
Searching Google (let alone this forum) returns zero results. Does anyone know what causes this error message and how to resolve it (or whether it's safe to ignore)? Thanks!
Replies
3
Boosts
1
Views
874
Activity
Jul ’23
NSLocale countryCode is 419
Hello, Upon registration to be able to localise the App for the users I am requesting the countryCode: (Locale.current as NSLocale).object(forKey: NSLocale.Key.countryCode) as? String Most of the values are the one expected ("US", "GB", "DE", ...), however in some cases I have numeric country codes like "419" or "241". I wanted to know if this was expected and how I can make them fallback to the regular country code that are none numeric. Thank you
Replies
3
Boosts
0
Views
1.5k
Activity
Sep ’23
App is terminated when user changes language
Dear Experts, NSLocale has a notification NSCurrentLocaleDidChangeNotification and a property autoupdatingCurrentLocale ("A locale which tracks the user’s current preferences"). These suggest that an app should be able to detect when the user changes their language preference while running, or when it is resumed from the background. In practice, when I change language in the Settings app (either globally or just for my app), the app is terminated by iOS and restarts with new locale. Is this the expected behaviour? I am wondering if there is something I need to do to advertise that the app can adopt language changes without restarting, or something. Maybe only date-time formats, etc., trigger the notification but language changes don't?
Replies
2
Boosts
0
Views
1.6k
Activity
Jul ’23
Assistive Access and phone calls
If I turn on Assistive Access, I can't call anyone via Calls. It seems that my SIM card is blocked. Because as soon as I go back to the normal view, I always have to enter my sim code again. Does anyone have an idea? I use IOS17 in Dutch.
Replies
1
Boosts
0
Views
562
Activity
Aug ’23
Assistive Access - Call and Text Restrictions
Let me just start by saying that I absolutely love this mode, but in it's current form I find it nearly unusable. Not sure if the following are bugs or intended features. Going into assistive mode means you can't make calls by default. The only way to output calls is by adding each and every single contact manually by clicking 'Make Calls To Selected Contacts' and adding them. The option 'Receiving calls from' allows you to select 'All Contacts'. The 'Make Calls To' sections would benefit significantly from the addition of an 'All Contacts' option. Worth mentioning that I did receive a call from an unknown number, despite it not being added to my contacts (this is the behaviour I would expect, but it's relevant for the following point) Similarly to the above, but much more egregious, you have to add each contact individually to the 'Send Messages To' or otherwise there will be no space to begin typing. BUT, messages from non-contacts are not received whatsoever. I can confirm not receiving any google verification codes and a text from a co-worker whose phone number I had not yet saved. I find it paramount to have the option to receive any text that reaches the phone. Lastly, the text window could just behave and look like the 'regular text' window. It feels a bit cumbersome in it's current iteration. A couple other minor things I noticed: The Ring/Silent switch seems to not function. Typing makes the sound effect despite the switch being off. WhatsApp will play a notification sound, but there is no visual queue to inform that it came from WhatsApp resulting in having to manually look through for the notification's origin. Looking forward to continue watching this feature evolve !
Replies
1
Boosts
0
Views
1.2k
Activity
Aug ’23
AppShortcuts.strings ${applicationName} should not be mandatory on the localizable key : Invalid Utterance. Every App Shortcut utterance should have one '${applicationName}' in it.
Xcode 15 beta 6 : Xcode is looking for "${applicationName}" in the strings file keys instead of the value only. (it was working on Xcode 14) error : Invalid Utterance. Every App Shortcut utterance should have one '${applicationName}' in it.
Replies
5
Boosts
1
Views
1.7k
Activity
Aug ’23
Missing string catalog
I have an App with multiple string catalogs. I mistyped the name of a table in one of my String(localized: "Some English Text", table "nonExistingTable") instances. I did not receive a compile-time warning telling me the table was missing and my application defaulted to the English text instead. Is this expected behaviour or a bug?
Replies
1
Boosts
0
Views
1.1k
Activity
Aug ’23
Voice over currency error in UITextfield
Hello, I am implementing voice over for a UITextField which contains a currency field, the drawback is that voice over reads that field in dollars and the currency that I need to implement is another. I have tried to use NumberFormatter and it reads me the type of currency I need but in the end it pronounces the word dollar
Replies
1
Boosts
0
Views
547
Activity
Sep ’23
Custom Localized String Macro Names build setting for Swift.
Why is the custom localized string macro name only allowed for Objective C and C code? I have a wrapper class for localization which is a Swift function. I'm unable to get the strings i pass to it localized. Is there any way to get it working other than writing an objective C class and adding it to the bridging header?
Replies
1
Boosts
0
Views
1.8k
Activity
Sep ’23
Accessibility Kit caused carsh
*** Crash Message: -[UIWindow _accessibilityFindSubviewDescendant:]: unrecognized selector sent to instance 0x13118ca70 *** we collected more than 10K+ reports with same call stack, the almost form Accessibility Kit. but no idea how to fix it and no reason why. could take some help please 4. CoreFoundation 0x00000001d0735900 _CF_forwarding_prep_0 + 96 5 AccessibilitySettingsLoader 0x000000025a97608c 70360165-7515-35AD-9723-C4719EB48D13 + 102540 6 AccessibilityUtilities 0x00000001d9bfa720 AXPerformSafeBlockWithErrorHandler + 112 7 AccessibilityUtilities 0x00000001d9bfb258 AXPerformSafeBlock + 56 8 AccessibilitySettingsLoader 0x000000025a976014 70360165-7515-35AD-9723-C4719EB48D13 + 102420 9 AccessibilitySettingsLoader 0x000000025a975ed8 70360165-7515-35AD-9723-C4719EB48D13 + 102104 10 AccessibilitySettingsLoader 0x000000025a97720c 70360165-7515-35AD-9723-C4719EB48D13 + 107020 11 AccessibilityUtilities 0x00000001d9c7be40 265BEA5E-C36A-3E51-A119-A3FD42F3DB5C + 552512 12 AXCoreUtilities 0x00000001db850530 AXPerformBlockSynchronouslyOnMainThread + 72 13 AXCoreUtilities 0x00000001db84faa0 774B92BE-E295-3FDC-99A4-5EFB55BA70C5 + 6816 14 AccessibilityUtilities 0x00000001d9c7b8d0 265BEA5E-C36A-3E51-A119-A3FD42F3DB5C + 551120 15 AccessibilitySettingsLoader 0x000000025a976ed4 70360165-7515-35AD-9723-C4719EB48D13 + 106196 16 AccessibilityUtilities 0x00000001d9c74178 265BEA5E-C36A-3E51-A119-A3FD42F3DB5C + 520568 17 AccessibilityUtilities 0x00000001d9bfff54 265BEA5E-C36A-3E51-A119-A3FD42F3DB5C + 44884 18 AccessibilityUtilities 0x00000001d9bfca28 265BEA5E-C36A-3E51-A119-A3FD42F3DB5C + 31272 19 libdispatch.dylib 0x00000001d7b7feac 5D16936B-4E4C-3276-BA7A-69C9BC760ABA + 16044
Replies
1
Boosts
0
Views
692
Activity
Sep ’23
Punctuation missing from system font when Chinese language is selected
Dear experts, I get glyphs from the system font using CTFontGetGlyphsForCharacters, something like this: UIFont* uifont = [UIFont monospacedDigitSystemFontOfSize: s weight: w]; CTFontRef font = (__bridge CTFontRef)uifont; CTFontGetGlyphsForCharacters(font, ....); The characters that I ask for are basically latin-1 plus a few others. The app is not localised for Chinese. When I change the phone's default language to Chinese, this code gets glyphs for most characters OK but it fails for a few punctuation symbols: 91 = [ 93 = ] 183 = middle dot 8220 = left double curly quote 8221 = right double curly quote Can anyone guess what's going on here? What's special about those characters? Thanks, Phil.
Replies
0
Boosts
0
Views
839
Activity
Sep ’23
What's the correct writing in RightToLeft languages
This simple text: Text("10'20\"") when the localisation is a RightToLeft, like Arabic on iMac show "20'10 on iOS show 10'20" Which is the correct one? Why the are different?
Replies
4
Boosts
0
Views
1k
Activity
Sep ’23
Can't send a message on Assistive Access
Hello, I've set up assistive access on a Iphone 13 pro, and when I access the messages app, I can only view, read and touch to listen to messages on the app. The option to compose a message and send is not available. Is this a known issue?
Replies
1
Boosts
0
Views
942
Activity
Sep ’23