Search results for

“translate scheme”

6,670 results found

Post

Replies

Boosts

Views

Activity

Mismatched Translation
I'm experimenting with github actions, xcodebuild -exportLocalizations / xcodebuild -importLocalizations and the web application lokalise.com, trying to automate the localisation process for my app. As a test I marked all my storyboards as localisable with base (english) localisation, exported the .xcloc and imported it into lokalise. Lokalise correctly imports this as English and shows all the keys / values. If I make any change to the English translations as a test (such as adding a $ to the end), Lokalise changes both source and target inside the xliff Total $ Total $ Class = UILabel; text = Total; ObjectID = JOQ-R1-RUU; I'm assuming this is what I would want. Given English is my base language. I would want my storyboard to update and display this new value while i'm working on it, not just on my app when its set to English. However when I import (either manually or via command line) I get a warning about a mismatch with no option to accept the new value. Importing just ignores it and does nothi
1
0
1.5k
Oct ’21
DragGesture translation reporting incorrect values
I'm building a SwiftUI macOS app. I've got a basic Rectangle shape with a drag gesture on it. In the onEnded handler, I am wanting to determine if the user has effectively tapped on the object. I do this by checking that the width and height of the translation are both zero. (There are reasons I'm not using a tap gesture). Rectangle() .size(.init(width:50, height: 50)) .fill(Color.blue.opacity(0.01)) .gesture(DragGesture(minimumDistance:0) .onChanged { gesture in // Ommited } .onEnded { gesture in print(startLocation, gesture.startLocation) print(start, gesture.location) print(translation, gesture.translation) if gesture.translation == .zero { print(tap) } print() } ) I'm getting issues where translations are being reported with unexpected values. The values reported differ based on where I click in the rectangle. Here's a set of groups of individual clicks. The translation is derived from the startLocation and location fields. You can see variation between the startLocatio
2
0
865
Jun ’21
Translate extension bahvior
DESCRIPTION OF PROBLEM We need to add an implementation that will have the same swipe/scroll behavior as the Apple Translator extension, here is the code that we are currently using: import SwiftUI import TranslationUIProvider @main class TranslationProviderExtension: TranslationUIProviderExtension { required init() {} var body: some TranslationUIProviderExtensionScene { TranslationUIProviderSelectedTextScene { context in VStack { TranslationProviderView(context: context) } } } } struct TranslationProviderView: View { @State var context: TranslationUIProviderContext init(context c: TranslationUIProviderContext) { context = c } var body: some View { ScrollableSheetView() } } struct ScrollableSheetView: View { var body: some View { ScrollView { VStack(spacing: 20) { ForEach(0..<50) { index in Text(Item (index)) .padding() .frame(maxWidth: .infinity) .background(Color.blue.opacity(0.1)) .cornerRadius(8) } } .padding() } .padding() } } Using this code, on the first extension run, swipe up will expand
Topic: UI Frameworks SubTopic: SwiftUI
0
0
73
Apr ’25
Use of Apples Thesaurus & Translator
Hey, I’m wondering if it’s possible to use the Translation service by Apple when selecting text like it’s possible in safari or other apps developed by apple. For example in notes or others you can select text and hit the translate button, which shows the translation to the systems language as far as I know. My question now is if it is possible to also provide this feature in my own app. To be more specific, having a selectable text view , then being able to translate this wording and maybe even get the results not only shown to the user himself but returning the translation to my own app for further processes … as far as I know, the standard dictionary entries are provided by Oxford or in Germany by Duden api services. Is it even possible to the app to choose which service to use and another question: is it possible to customize the options popping up when text is selected? (The view where also “copy”,”paste”,”cut”…. Is shown -> extend options with “translate
3
0
2.8k
May ’22
Sirikit: Translations of enum types not recognized
Hi,I am working on a Siri integration and got the english version working quite ok. Finally I translated all dialogs to german and now Siri does not recognize the keywords of an enum in german. The display in the Siri interface shows the translated strings and talking to Siri it also writes the recognized word properly, but nevertheless siri is not matching the german word with the correct enum.If the german translation is the same as the english word then the recognition works, but with all other translated string it does not work.Am I doing something wrong or does somebody else also experiencing this issue?The problem is still there with iOS 13.1.
0
0
764
Sep ’19
How to enable Safari translation (beta feature) for a webpage?
Regarding the View->Translation->Translate to... feature that is in Safari running on Big Sur, how does Safari determine whether a page can be translated? A pointer to some documentation would be appreciated, if it exists. I've come across a few sites that Safari would offer to translate (button in address bar right) but I can't figure out what exactly needs to be done. I've tried a couple things, setting , setting the Content-Language: ... via http or in a meta tag (which apparently is bad practice per Mozilla) Couldn't find anything that explicitly addresses the feature in the Safari and WebKit documentation, looked at Intl web api but if that's it I'm at a loss at what to do (kind of doubt it would require the internationalization to be implemented by the page)
1
0
1.2k
Dec ’20
Conversions not translating into downloads
Hi,We are observing a discrepancy between the number of conversions that we see in the search ads interface, and the actual number of downloads that that translates into. We target users who don't have our app installed.Basically, there appears to be a bug in either the conversion reporting, or in the download reporting. For us, even the total of the day before, the day of the conversions and the day after, does not total up to the number of conversions reported.z
10
0
5.3k
Oct ’16
Reusing string catalog translations in swift packages
Setup I have 2 swift packages and I try to use stirng catalog to manage your localizations I would like to use some specific keys in these packages and some common ones (e.g. ok_button_tittle) Problem statement I really don't like the idea of creating separate (but the same) translations in these packages I have tried using something like String( localized: ok_button_title, table: Localizable, bundle: .main, comment: Ok button title ) This does use translations from the main bundle, however this does not automatically create the keys in string catalog Question Is there any possibility to reuse the translations from the main bundle? Maybe there is a hack to make the keys appear automatically in the correct bundle? Or is it a bug?
1
0
506
Dec ’24
IOS 16 not update Translate
Dear team , My Idevice is XR after upgrading from IOS 15.6.1 to 16 . evetthing are ok except app Transtale did not update more language such as Vietnamese . I had tried un-install original Translate in my Idevice then re-install from app store (app Translate have upto 22 languages incluing Vietnames). althought I had reset as factory even delete all data is there any other way? Thanks & best Regards
0
0
411
Sep ’22
Inconsistent DragGesture translation?
I feel like I must be missing something dumb, but I can't figure it out. I'm trying to create a modifier to make items resizable by dragging on the corner (I haven't actually implemented the corner part yet though so dragging anywhere on the object resizes it). However the rate that I'm dragging at is different from the rate that the object is resizing. It's also different for horizontal and vertical translation (the horizontal change is smaller than the rate that I'm dragging while the vertical change is larger). Any help would be greatly appreciated! Here's my code for the modifier: struct Resizable: ViewModifier { @State var size: CGSize = CGSize(width: 500, height: 500) @State var activeSize: CGSize = .zero func body(content: Content) -> some View { content .frame(width: abs(size.width + activeSize.width), height: abs(size.height + activeSize.height)) // offset is so the top right corner doesn't move .offset(x: -abs(size.width + activeSize.width) / 2, y: abs(size.height + activeSize.height) /
1
0
461
Dec ’24
Is it possible to translate RoomCaptureView user instructions?
I've been working on an app that uses the new RoomPlan API and I'm looking for a way to translate the Scan Guidance or User Instructions that are overlayed on the RoomCaptureView when the user is scanning a room. Instructions like Move device to start and Move further away are in English but I'd like them to be in Dutch in my case. I can't seem to find a way to provide translations to these instructions myself and setting the device region or language doesn't seem to change anything. Is this even possible currently?
1
0
1.3k
Oct ’22
Is Call Translation API available for VOIP?
I might have misunderstood the docs, but is Call Translation going to be available for VOIP applications? Eg in an already connected VOIP call, would it be possible for Call Translations to be enabled on an iOS 26 and Apple Intelligence supported device? I have personally tried it and it doesn’t look like it supported VOIP but would love to confirm this. reference: https://developer.apple.com/documentation/callkit/cxsettranslatingcallaction/
1
0
79
Jun ’25
Mismatched Translation
I'm experimenting with github actions, xcodebuild -exportLocalizations / xcodebuild -importLocalizations and the web application lokalise.com, trying to automate the localisation process for my app. As a test I marked all my storyboards as localisable with base (english) localisation, exported the .xcloc and imported it into lokalise. Lokalise correctly imports this as English and shows all the keys / values. If I make any change to the English translations as a test (such as adding a $ to the end), Lokalise changes both source and target inside the xliff Total $ Total $ Class = UILabel; text = Total; ObjectID = JOQ-R1-RUU; I'm assuming this is what I would want. Given English is my base language. I would want my storyboard to update and display this new value while i'm working on it, not just on my app when its set to English. However when I import (either manually or via command line) I get a warning about a mismatch with no option to accept the new value. Importing just ignores it and does nothi
Replies
1
Boosts
0
Views
1.5k
Activity
Oct ’21
DragGesture translation reporting incorrect values
I'm building a SwiftUI macOS app. I've got a basic Rectangle shape with a drag gesture on it. In the onEnded handler, I am wanting to determine if the user has effectively tapped on the object. I do this by checking that the width and height of the translation are both zero. (There are reasons I'm not using a tap gesture). Rectangle() .size(.init(width:50, height: 50)) .fill(Color.blue.opacity(0.01)) .gesture(DragGesture(minimumDistance:0) .onChanged { gesture in // Ommited } .onEnded { gesture in print(startLocation, gesture.startLocation) print(start, gesture.location) print(translation, gesture.translation) if gesture.translation == .zero { print(tap) } print() } ) I'm getting issues where translations are being reported with unexpected values. The values reported differ based on where I click in the rectangle. Here's a set of groups of individual clicks. The translation is derived from the startLocation and location fields. You can see variation between the startLocatio
Replies
2
Boosts
0
Views
865
Activity
Jun ’21
Is there a Chinese translation to OpenCL terms? Thank you
Hi:Does anyone know if there are any sources that has OpenCL terminology in Chinese?Also, I need to translate OpenCL1.2 Full Profile, DX11.1 into Chinese, could someone explain if the Full Profile has any special meaning to it?Thank you very much for your time.Sincerely,CocoD
Replies
0
Boosts
0
Views
326
Activity
Jul ’17
Translate extension bahvior
DESCRIPTION OF PROBLEM We need to add an implementation that will have the same swipe/scroll behavior as the Apple Translator extension, here is the code that we are currently using: import SwiftUI import TranslationUIProvider @main class TranslationProviderExtension: TranslationUIProviderExtension { required init() {} var body: some TranslationUIProviderExtensionScene { TranslationUIProviderSelectedTextScene { context in VStack { TranslationProviderView(context: context) } } } } struct TranslationProviderView: View { @State var context: TranslationUIProviderContext init(context c: TranslationUIProviderContext) { context = c } var body: some View { ScrollableSheetView() } } struct ScrollableSheetView: View { var body: some View { ScrollView { VStack(spacing: 20) { ForEach(0..<50) { index in Text(Item (index)) .padding() .frame(maxWidth: .infinity) .background(Color.blue.opacity(0.1)) .cornerRadius(8) } } .padding() } .padding() } } Using this code, on the first extension run, swipe up will expand
Topic: UI Frameworks SubTopic: SwiftUI
Replies
0
Boosts
0
Views
73
Activity
Apr ’25
Use of Apples Thesaurus & Translator
Hey, I’m wondering if it’s possible to use the Translation service by Apple when selecting text like it’s possible in safari or other apps developed by apple. For example in notes or others you can select text and hit the translate button, which shows the translation to the systems language as far as I know. My question now is if it is possible to also provide this feature in my own app. To be more specific, having a selectable text view , then being able to translate this wording and maybe even get the results not only shown to the user himself but returning the translation to my own app for further processes … as far as I know, the standard dictionary entries are provided by Oxford or in Germany by Duden api services. Is it even possible to the app to choose which service to use and another question: is it possible to customize the options popping up when text is selected? (The view where also “copy”,”paste”,”cut”…. Is shown -> extend options with “translate
Replies
3
Boosts
0
Views
2.8k
Activity
May ’22
Sirikit: Translations of enum types not recognized
Hi,I am working on a Siri integration and got the english version working quite ok. Finally I translated all dialogs to german and now Siri does not recognize the keywords of an enum in german. The display in the Siri interface shows the translated strings and talking to Siri it also writes the recognized word properly, but nevertheless siri is not matching the german word with the correct enum.If the german translation is the same as the english word then the recognition works, but with all other translated string it does not work.Am I doing something wrong or does somebody else also experiencing this issue?The problem is still there with iOS 13.1.
Replies
0
Boosts
0
Views
764
Activity
Sep ’19
Workflow for translators helping with localization (xcloc) files
Much of the WWDC content (understandably so) covers how to use localized strings in code but a piece of the puzzle that's missing for me is the exported and imported .xcloc files. How do translators use and modify an exported xcloc file to provide translations? Is there a popular 3rd party software for this step?
Replies
1
Boosts
0
Views
1k
Activity
May ’23
How to enable Safari translation (beta feature) for a webpage?
Regarding the View->Translation->Translate to... feature that is in Safari running on Big Sur, how does Safari determine whether a page can be translated? A pointer to some documentation would be appreciated, if it exists. I've come across a few sites that Safari would offer to translate (button in address bar right) but I can't figure out what exactly needs to be done. I've tried a couple things, setting , setting the Content-Language: ... via http or in a meta tag (which apparently is bad practice per Mozilla) Couldn't find anything that explicitly addresses the feature in the Safari and WebKit documentation, looked at Intl web api but if that's it I'm at a loss at what to do (kind of doubt it would require the internationalization to be implemented by the page)
Replies
1
Boosts
0
Views
1.2k
Activity
Dec ’20
Conversions not translating into downloads
Hi,We are observing a discrepancy between the number of conversions that we see in the search ads interface, and the actual number of downloads that that translates into. We target users who don't have our app installed.Basically, there appears to be a bug in either the conversion reporting, or in the download reporting. For us, even the total of the day before, the day of the conversions and the day after, does not total up to the number of conversions reported.z
Replies
10
Boosts
0
Views
5.3k
Activity
Oct ’16
Reusing string catalog translations in swift packages
Setup I have 2 swift packages and I try to use stirng catalog to manage your localizations I would like to use some specific keys in these packages and some common ones (e.g. ok_button_tittle) Problem statement I really don't like the idea of creating separate (but the same) translations in these packages I have tried using something like String( localized: ok_button_title, table: Localizable, bundle: .main, comment: Ok button title ) This does use translations from the main bundle, however this does not automatically create the keys in string catalog Question Is there any possibility to reuse the translations from the main bundle? Maybe there is a hack to make the keys appear automatically in the correct bundle? Or is it a bug?
Replies
1
Boosts
0
Views
506
Activity
Dec ’24
IOS 16 not update Translate
Dear team , My Idevice is XR after upgrading from IOS 15.6.1 to 16 . evetthing are ok except app Transtale did not update more language such as Vietnamese . I had tried un-install original Translate in my Idevice then re-install from app store (app Translate have upto 22 languages incluing Vietnames). althought I had reset as factory even delete all data is there any other way? Thanks & best Regards
Replies
0
Boosts
0
Views
411
Activity
Sep ’22
Inconsistent DragGesture translation?
I feel like I must be missing something dumb, but I can't figure it out. I'm trying to create a modifier to make items resizable by dragging on the corner (I haven't actually implemented the corner part yet though so dragging anywhere on the object resizes it). However the rate that I'm dragging at is different from the rate that the object is resizing. It's also different for horizontal and vertical translation (the horizontal change is smaller than the rate that I'm dragging while the vertical change is larger). Any help would be greatly appreciated! Here's my code for the modifier: struct Resizable: ViewModifier { @State var size: CGSize = CGSize(width: 500, height: 500) @State var activeSize: CGSize = .zero func body(content: Content) -> some View { content .frame(width: abs(size.width + activeSize.width), height: abs(size.height + activeSize.height)) // offset is so the top right corner doesn't move .offset(x: -abs(size.width + activeSize.width) / 2, y: abs(size.height + activeSize.height) /
Replies
1
Boosts
0
Views
461
Activity
Dec ’24
Translate Feature/Framework mentioned WWDC 2020
There has been an introduction of a translate Feature/Framework in the Keynote, but I could not find anything in the Developer App. Any hints?
Replies
1
Boosts
0
Views
1.1k
Activity
Jun ’20
Is it possible to translate RoomCaptureView user instructions?
I've been working on an app that uses the new RoomPlan API and I'm looking for a way to translate the Scan Guidance or User Instructions that are overlayed on the RoomCaptureView when the user is scanning a room. Instructions like Move device to start and Move further away are in English but I'd like them to be in Dutch in my case. I can't seem to find a way to provide translations to these instructions myself and setting the device region or language doesn't seem to change anything. Is this even possible currently?
Replies
1
Boosts
0
Views
1.3k
Activity
Oct ’22
Is Call Translation API available for VOIP?
I might have misunderstood the docs, but is Call Translation going to be available for VOIP applications? Eg in an already connected VOIP call, would it be possible for Call Translations to be enabled on an iOS 26 and Apple Intelligence supported device? I have personally tried it and it doesn’t look like it supported VOIP but would love to confirm this. reference: https://developer.apple.com/documentation/callkit/cxsettranslatingcallaction/
Replies
1
Boosts
0
Views
79
Activity
Jun ’25