Post not yet marked as solved
as you can see from the scroll indicator its starting from the end
import SwiftUI
struct ContentView: View {
var body: some View {
ScrollView(.horizontal) {
HStack {
ForEach(0..<20) { i in
Text("\(i)")
.padding()
}
}
}
.environment(\.layoutDirection, .rightToLeft)
}
}
struct ContentView_Previews: PreviewProvider {
static var previews: some View {
ContentView()
}
}
Post not yet marked as solved
Swipe back gesture to dismiss is not getting flipped (stays from left to right).
but the view and slide out animation are getting flipped
import SwiftUI
struct ContentView: View {
var body: some View {
NavigationView {
NavigationLink("hello, world!", destination: Text("hello, world!"))
}
.environment(\.layoutDirection, .rightToLeft)
}
}
struct ContentView_Previews: PreviewProvider {
static var previews: some View {
ContentView()
}
}
Post not yet marked as solved
I would like to ask if it is possible to work with Apple on localization in a combination of CZ-ENG and ENG-CZ languages. I have been working for many years for various e-commerce companies.
Thank you for your tips,
David
misadavid(at sign)seznam.cz
Czech Republic
Post not yet marked as solved
In App Store Connect I have setup a few In App Purchases..
Lets say 2,99 dollar which equals 2,99 euro... double checked it in the other currencies list.
let formatter = NumberFormatter()
formatter.numberStyle = .currency
formatter.locale = product.priceLocale
return formatter.string(from: product.price)
Why does it gets €3,49 back from product.price?
I would expect to get €2,99 back from the product.price
Post not yet marked as solved
How to get the number of English, Spanish and Other Language users for my App?
Post not yet marked as solved
When using the date format "MMMM" our Polish users are seeing incorrect month names. I'm not a native speaker, but was informed iOS is using the wrong possessive tense. The month names should be as below (Jan-Dec):
Styczeń
Luty
Marzec
Kwiecień
Maj
Czerwiec
Lipiec
Sierpień
Wrzesień
Październik
Listopad
Grudzień
Can anyone confirm and correct if necessary?
Post not yet marked as solved
Hello,
For an app, we are trying to target French-speaking people.
We would make the app available in non-French speaking countries and set French as the primary language.
Is this okay in terms of guidelines?
Thanks!
My devices are connected to the german app store. The current version of our app in the AppStore with IAP shows prices in €, that's correct. But when I create a new version of the app and let it run on a device with iOS 14, prices are in $.
On another device with iOS 13, prices are in €. I updated the iOS 13 device to iOS 14 and now I have the same issue on this device. Prices in $.
I printed current locale before call to the app store, and it's deDE (current).
priceLocale of the fetched products is enUS@currency=USD (fixed).
I have no idea how to fix it.
Post not yet marked as solved
I have two call directory extensions, each with InfoPlist.strings in en.lproj and nb.lproj directories. In these files I've defined CFBundleDisplayName for both locales.
These names are displayed under Settings -> Phone -> Call Blocking & Identification. On iOS 12.2 the names are displayed correctly in both Norwegian and English.
Testing on iOS 15.3 the English names are displayed even when device language is set to Norwegian.
Worth noting: When updating the English versions of CFBundleDisplayName this is immediately reflected in Call Blocking & Identification page with Norwegian device language.
As this feature requires a real device, I'm unable to test on iOS 13 and 14.
Post not yet marked as solved
Hi Team ,
Please fix the issue with region code of nigerian, currently facing issue for nigerian nationality alone.
Snippet:
Locale.current.regionCode
Post not yet marked as solved
We noticed that all our new in-app purchases were approved (green dot) but not the localization content (yellow dot).
So the customers are seeing the wrong name when managing subscription.
Those items were approved more than a week ago but the localizations are still in review. Is anyone facing this issue?
Post not yet marked as solved
In regular projects, there is an "Export Localizations" option in the Product menu, but for Swift Packages, this is not available.
Adding local Swift Packages as dependencies of a regular project and using Export Localizations on the regular project doesn't include the Localizable strings from the Packages' sources either.
The command-line version (xcodebuild -exportLocalizations) has the same restrictions.
Is there a way to export NSLocalizedString occurrences to an xliff for Swift Packages? Or are we supposed to do things manually for now?
My AppleScript applet is localized for French, German, Italian and Spanish. The applet displays text in the correct language if the preferred language is changed in the "General" pane of the Language & Region preferences. That is, the applet correctly works in all four languages.
However, the "Apps" pane shows Spanish, German and Italian but, does not show French. For example:
Why would the "Apps" pane not show all languages for which the applet is localized ?
Thanks
late 2015 iMac 27", macOS 12.2.1
Post not yet marked as solved
I have an app in the app store which is free to download but has a few In-App Purchases. I am not allowed to sell in China and because of the In-App Purchases it doesn't appear in the Chinese app store.
I would like to offer it for free there. Is there a way to do this with the same bundle-ID or do I have to create a separate app without any In-App Purchases for China?
Post not yet marked as solved
Is there a way to get a human readable description of a HKQuantityTypeIdentifier, that also respects the systems language? So eg
HKQuantityTypeIdentifier.heartRate.humanReadable() = "Heart Rate" on an english phone, and
HKQuantityTypeIdentifier.heartRate.humanReadable() = "Puls" on a german phone etc?
Post not yet marked as solved
Hi there,
The Call Directory Extension in Settings wasn't localized since iOS 13, and getting even worse in iOS 14 beta.
In iOS 13, though not localized, the custom extension name was display as expected. In iOS 14, it showed only the bundle name which made no sense to general users.
This is important to us to introduce our app to foreign countries. I also fired a feedback in Feedback Assistance but don't know when it will get fixed, so just raise the attention here.
Post not yet marked as solved
Hello. I added 2 languages for my app in appstoreconnect. English (default) and Russian. Different languages have different screenshots and app names. But I can't see the Russian language page when changing my iPhone to Russian. In any case, it's English. why?
Post not yet marked as solved
Hi,
I added a Custom Product Page with a localized video preview of my app for a different country from my native AppleID account.
I'd like to test to make sure the video is showing.
I try the link from the Custom Product Page, but no luck. I just get a webpage with a URL like this:
https://apps.apple.com/us/app/appname/id123456789?ppid=32d11e29-9b10-4f39-b912-e356d5a7140b
So I change to this:
https://apps.apple.com/se/app/appname/id123456789?ppid=32d11e29-9b10-4f39-b912-e356d5a7140b
Still webpage.
So I tested with the TikTok app which has a promo video — viewing it Safari removes the video or provides an unclickable still image.
So I open the /se/ address on an old iPhone (iOS 12.5.5) which has region set to Sweden, but I still get a static image instead of the video (and it looks like it's the US page.. so not sure if the region stuck or if there's confusion between 12.5.5. App Store and Custom Product Page demo URLs).
How are other developers checking their Custom Product Pages in other regions?
Post not yet marked as solved
In my app I used locationButton and everything worked fine. Then I added Localizable string file and localized for English. Still, everything worked OK. Then I added localized String file for Hebrew, and it compiles, opens my simulator and shows everything in Hebrew But then I try to use the app and click something and it crashes and gives me this error: Thread 1: "Invalid parameter not satisfying: width && height". Can't find anything about this anywhere. Did anyone encountered this?
Post not yet marked as solved
Hi all ;-)
I'm using SPM to create various libraries.
So far, I only had to localize strings, so I added a Resources folder, some .lproj data and a defaultLocalization in my Package.swift file.
Now I'd like to localize some images in the XCAsset catalog, but when I click on "localize" on my image, the only localization that is proposed is the defaultLocalization from my Package.swift file (if I change "en" to "fr", I now get a "French" localize option, but English has gone).
How can I make Xcode aware of the supported localization inside my package ?
Thanks.