Search results for

“translate scheme”

6,670 results found

Post

Replies

Boosts

Views

Activity

Translation API not working without the Apple Translate app installed
Hello, My app depends on the Translation framework (iOS 17.4+), but I've found out that it doesn't work unless the Apple Translate app is installed on the device. After I've deleted Apple's translation app, I started getting the following errors: Optional(Foundation.Locale.Language(components: Foundation.Locale.Language.Components(languageCode: Optional(en), script: nil, region: Optional(GB)))) Optional(Foundation.Locale.Language(components: Foundation.Locale.Language.Components(languageCode: Optional(es), script: nil, region: Optional(ES)))) Error sending 1 paragraphs Error Domain=TranslationErrorDomain Code=16 Translation failed UserInfo={NSLocalizedDescription=Translation failed, NSLocalizedFailureReason=Offline models not available for language pair} Failed to translate input 0; returning error: Error Domain=TranslationErrorDomain Code=16 Translation failed UserInfo={NSLocalizedDescription=Translation failed, NSLocalizedFailureReason=
2
0
157
Jul ’25
How to use PSEUDO_LANGUAGE in translations
I have localized my Xcode project with 2 languages:- English - (developer language)- GermanI have translated every Text in the User interface formatted like:BUTTON_UPLOAD ALERT_MESSAGE_WRONG_PASSWORDI call these TOKENS.My aim: I want to export these TOKENS in XLIFF for English translation likeBUTTON_Upload = Upload (I know that this is not the XLIFF Format, It's just for demonstrating)But the problem what I have is now, is that I only can translateEnglish -> GermanBut actually it isTOKEN Language -> GermanMy aim isTOKEN LANGUAGE -> English TOKEN LANGUAGE -> GERMANIs there another instead of using any foreign language what I will never use as a PSEUDO_LANGUAGE?Thank you in advance!Tino
1
0
377
Jul ’16
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
938
Jul ’23
System-provided translations?
On this page that describes how to put links in my application to Game Center: https://developer.apple.com/design/human-interface-guidelines/technologies/game-center/custom-dashboard-links Here is a quote: Use the system-provided translation of Game Center. Avoid confusing players by referring to Game Center using the translation that they view on their device. What is the system-provided translation of Game Center? What does that mean? How do I access it? I have never heard of any such thing.
2
0
871
Mar ’23
Easy and lightweight translation editing
I have some .strings file for translation in my app and it turns out one of them is pretty bad. I have a new translator and I'm looking to make the process as easy for him as possible. Ideally, he would have just one file with my original english translation on the right, and the corresponding chinese translation on the right, making him easily be able to edit if necessary. The issue I see here is that is to create that file and then rebuild the .strings file. Is it possible? How would you do it? Best
2
0
1.3k
Jun ’23
iOS 14 translate API
Apple announced in WWDC 2020 a new app called Translate which is able to translate on device (offline) and pronounce the translation in a native voice (not robotic like sound). I'm asking if there is a public API to use the translation and pronunciation features (or any thing planned in the future of make it available)
5
0
9.7k
Jun ’20
Translations of Apple Developer Docs
Hello, everyone. I'm new here, so I'm unsure if this is the right place for this inquiry. I'm Mauricio Paternina, a beginner iOS Developer, interested in bringing Swift Development closer to Spanish speakers. I created the site for the Spanish translation of The Swift Programming Language book (which can check here) and I'm interested in translating the Apple Developer Documentation if that's possible. I noticed that the site already has Korean and Chinese translations. Are those provided by Apple directly or by some Korean/Chinese community members? Is it even possible to consider an initiative to translate into Spanish? I appreciate any information you might be able to provide for me to guide through this initiative.
2
0
953
May ’23
Tapping into the Apple Translate app
Hey guys, I saw that both the Mona (Mastodon client) and the Telegram app offer translations on post through the click of a button. They both offer to select Apple Translate as a translation service. Both apps are available through the App Store. I'm wondering how they're doing it :) I couldn't find an official, public API to tap into the LTUITranslationViewController they're presenting. On the other hand they've both run through the app review process and using private APIs should have thrown a red flag. I thought that they may have setup a custom shortcut through which they trigger the Apple Translate app, but there are no shortcuts by these apps in the Shortcuts app. This is what shows up when you hit the Translate button on a post:
0
0
714
Nov ’23
Translating system items
Hi!Is there any working hack, to custom translate system items used in your app (Edit, Done, More, ... buttons).I'm working on app translated into sl_SI language, which is not available natively on iOS. I'm looking for a way, to set localizable.strings for system defined texts, searching for labels and replacing texts is not an option. Main problem is moreNavigationController in UITabBarController. All tabs are in correct language, but there is a More in english.Thanks,Miha
Topic: UI Frameworks SubTopic: UIKit Tags:
0
0
238
Aug ’16
Generic Translation Layer Design
So here's the goal: I have a framework that deals in subclasses of a base `Object`. While I want to use this framework, I do not want to expose it to the rest of the app. Instead, I'm writing a layer around the framework that uses `Model` objects. In order to do this, I need to add a translation layer. I want the translation layer to be a protocol that simply translates from an `Object` subtype to a `Model` subtype. Ex:public protocol Translator { typealias T:Model typealias U:Object var objectType:U.Type { get } var modelType:T.Type { get } func translate(from: U) -> T func translate(from: T) -> U }I can't store the protocol this way though, so I tried to make it more generic:public protocol Translator { var objectType:Object.Type { get } var modelType:Model.Type { get } func translateObject(from: Object) -> Model func translateModel(from: Model) -> Object }I would then have a wrapper class that stores the Translators and use
7
0
1.1k
Jun ’15
Update app translation in-app?
Hi,I just discovered the localization(translation) feature in Swift today, and I managed to translate my app. However, how can I make the user select another language from a picker view inside my app? I have the picker view, with an array of the possible languages. I do also have a save button, however - how can I set the language so that it will immidiately change to the selected language?Help would be appreciated, as I could not find any information regarding this on Google.Regards,anska
2
0
431
Jan ’16
Translation API not working without the Apple Translate app installed
Hello, My app depends on the Translation framework (iOS 17.4+), but I've found out that it doesn't work unless the Apple Translate app is installed on the device. After I've deleted Apple's translation app, I started getting the following errors: Optional(Foundation.Locale.Language(components: Foundation.Locale.Language.Components(languageCode: Optional(en), script: nil, region: Optional(GB)))) Optional(Foundation.Locale.Language(components: Foundation.Locale.Language.Components(languageCode: Optional(es), script: nil, region: Optional(ES)))) Error sending 1 paragraphs Error Domain=TranslationErrorDomain Code=16 Translation failed UserInfo={NSLocalizedDescription=Translation failed, NSLocalizedFailureReason=Offline models not available for language pair} Failed to translate input 0; returning error: Error Domain=TranslationErrorDomain Code=16 Translation failed UserInfo={NSLocalizedDescription=Translation failed, NSLocalizedFailureReason=
Replies
2
Boosts
0
Views
157
Activity
Jul ’25
How to use PSEUDO_LANGUAGE in translations
I have localized my Xcode project with 2 languages:- English - (developer language)- GermanI have translated every Text in the User interface formatted like:BUTTON_UPLOAD ALERT_MESSAGE_WRONG_PASSWORDI call these TOKENS.My aim: I want to export these TOKENS in XLIFF for English translation likeBUTTON_Upload = Upload (I know that this is not the XLIFF Format, It's just for demonstrating)But the problem what I have is now, is that I only can translateEnglish -> GermanBut actually it isTOKEN Language -> GermanMy aim isTOKEN LANGUAGE -> English TOKEN LANGUAGE -> GERMANIs there another instead of using any foreign language what I will never use as a PSEUDO_LANGUAGE?Thank you in advance!Tino
Replies
1
Boosts
0
Views
377
Activity
Jul ’16
Adding Google or Apple translate for translating a Text View
Hello, I have a TextView in a language different than english. I would like to add a button which translate this text in a text view to english and german. It can looks like this, in the Daily Art app: Many thanks to any ideas and tips how to make it.
Replies
0
Boosts
0
Views
559
Activity
Nov ’21
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
938
Activity
Jul ’23
System-provided translations?
On this page that describes how to put links in my application to Game Center: https://developer.apple.com/design/human-interface-guidelines/technologies/game-center/custom-dashboard-links Here is a quote: Use the system-provided translation of Game Center. Avoid confusing players by referring to Game Center using the translation that they view on their device. What is the system-provided translation of Game Center? What does that mean? How do I access it? I have never heard of any such thing.
Replies
2
Boosts
0
Views
871
Activity
Mar ’23
Easy and lightweight translation editing
I have some .strings file for translation in my app and it turns out one of them is pretty bad. I have a new translator and I'm looking to make the process as easy for him as possible. Ideally, he would have just one file with my original english translation on the right, and the corresponding chinese translation on the right, making him easily be able to edit if necessary. The issue I see here is that is to create that file and then rebuild the .strings file. Is it possible? How would you do it? Best
Replies
2
Boosts
0
Views
1.3k
Activity
Jun ’23
iOS 14 translate API
Apple announced in WWDC 2020 a new app called Translate which is able to translate on device (offline) and pronounce the translation in a native voice (not robotic like sound). I'm asking if there is a public API to use the translation and pronunciation features (or any thing planned in the future of make it available)
Replies
5
Boosts
0
Views
9.7k
Activity
Jun ’20
Translations of Apple Developer Docs
Hello, everyone. I'm new here, so I'm unsure if this is the right place for this inquiry. I'm Mauricio Paternina, a beginner iOS Developer, interested in bringing Swift Development closer to Spanish speakers. I created the site for the Spanish translation of The Swift Programming Language book (which can check here) and I'm interested in translating the Apple Developer Documentation if that's possible. I noticed that the site already has Korean and Chinese translations. Are those provided by Apple directly or by some Korean/Chinese community members? Is it even possible to consider an initiative to translate into Spanish? I appreciate any information you might be able to provide for me to guide through this initiative.
Replies
2
Boosts
0
Views
953
Activity
May ’23
Tapping into the Apple Translate app
Hey guys, I saw that both the Mona (Mastodon client) and the Telegram app offer translations on post through the click of a button. They both offer to select Apple Translate as a translation service. Both apps are available through the App Store. I'm wondering how they're doing it :) I couldn't find an official, public API to tap into the LTUITranslationViewController they're presenting. On the other hand they've both run through the app review process and using private APIs should have thrown a red flag. I thought that they may have setup a custom shortcut through which they trigger the Apple Translate app, but there are no shortcuts by these apps in the Shortcuts app. This is what shows up when you hit the Translate button on a post:
Replies
0
Boosts
0
Views
714
Activity
Nov ’23
Translation on Privacy policy
Dear all,we are distributing an app and we will upload a privacy policy including users' data that we are going to collect (only GPS information).Our app will be translated in 7 languages and I would like to ask if we are obliged to translate the privacy policy as well or upload it only to English?Many thanks in advance
Replies
2
Boosts
0
Views
933
Activity
Feb ’18
Translating system items
Hi!Is there any working hack, to custom translate system items used in your app (Edit, Done, More, ... buttons).I'm working on app translated into sl_SI language, which is not available natively on iOS. I'm looking for a way, to set localizable.strings for system defined texts, searching for labels and replacing texts is not an option. Main problem is moreNavigationController in UITabBarController. All tabs are in correct language, but there is a More in english.Thanks,Miha
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
0
Boosts
0
Views
238
Activity
Aug ’16
Translate capabilities thru API?
Will the Translate capability for Siri be available through an API? A very quick look through Dev Docs in Xcode 12 didn't turn anything so I'm guessing not. So devs are till stuck with Google Translate within their apps..... Any links which contradict this hypothesis would be appreciated...
Replies
0
Boosts
0
Views
672
Activity
Jun ’20
Generic Translation Layer Design
So here's the goal: I have a framework that deals in subclasses of a base `Object`. While I want to use this framework, I do not want to expose it to the rest of the app. Instead, I'm writing a layer around the framework that uses `Model` objects. In order to do this, I need to add a translation layer. I want the translation layer to be a protocol that simply translates from an `Object` subtype to a `Model` subtype. Ex:public protocol Translator { typealias T:Model typealias U:Object var objectType:U.Type { get } var modelType:T.Type { get } func translate(from: U) -> T func translate(from: T) -> U }I can't store the protocol this way though, so I tried to make it more generic:public protocol Translator { var objectType:Object.Type { get } var modelType:Model.Type { get } func translateObject(from: Object) -> Model func translateModel(from: Model) -> Object }I would then have a wrapper class that stores the Translators and use
Replies
7
Boosts
0
Views
1.1k
Activity
Jun ’15
Update app translation in-app?
Hi,I just discovered the localization(translation) feature in Swift today, and I managed to translate my app. However, how can I make the user select another language from a picker view inside my app? I have the picker view, with an array of the possible languages. I do also have a save button, however - how can I set the language so that it will immidiately change to the selected language?Help would be appreciated, as I could not find any information regarding this on Google.Regards,anska
Replies
2
Boosts
0
Views
431
Activity
Jan ’16
Clamp translation values with ManipulationComponent?
Can we constrain or clamp translation with the new ManipulationComponent? For example, allow free movement within certain bounds.
Replies
0
Boosts
0
Views
93
Activity
Jun ’25