Search results for

“translate scheme”

6,670 results found

Post

Replies

Boosts

Views

Activity

Reply to String Translator Extension
I understand that API returns Strings (in some cases) and you want to translate those Strings.Did you test cloud translation ?You would pass it the String returned by API, with the original language (that you should know) and the destination language.Have a look here:h ttps://cloud.google.com/translate/docs/translating-text
Topic: Programming Languages SubTopic: Swift Tags:
Nov ’17
Reply to Easy and lightweight translation editing
The intended flow for working with translators is to use .strings (or the new .xcstrings) files within Xcode to specify/organize which strings need to be translated, then use Product > Export Localizations in the menu bar to get a Localization Catalog for a given language. This .xcloc file can then be sent to your translators and they can edit it in any translation tool of their choice that understands .xcloc or .xliff files. Then at some later point when they've finished translating, you can import the .xcloc file back into Xcode using Product > Import Localizations and the translations will be merged back into the .xc/strings files.
Jun ’23
Reply to Strings Catalog (.xcstrings) plural rules without format (Xcode 15)
Hi, I have had the same problem you can achieve a string without a numerical specifier when editing the source code of the xcstrings file. right click .xcstrings > Open As > Source Code add this to strings object and edit this as your want: %lld day : { localizations : { de : { stringUnit : { state : translated, value : %#@day@ }, substitutions : { day : { formatSpecifier : lld, variations : { plural : { one : { stringUnit : { state : translated, value : Tag } }, other : { stringUnit : { state : translated, value : Tage } } } } } } }, en : { stringUnit : { state : translated, value : %#@day@ }, substitutions : { day : { formatSpecifier : lld, variations : { plural : { one : { stringUnit : { state : translated, value : day } }, other : { stringUnit : { state : translated, value : days } } } } } } } } }, note: %lld day is translated in German Its sad that we need to this every time manual by adding it to the source code.
Sep ’23
Reply to Is it possible to exclude sample text from Storyboard localization strings?
My understanding of that Lock dropdown is meant to lock the control while translation is in progress. So you can Lock Localizable Properties to ensure they are not changed while you are waiting on translations to come back. Locking Non-localizable properties ensures you cannot edit other properties of the control.The problem with just using comments is that they appear as part of the larger note generated for that item. Its already a note full of technical details a translator is just going to ignore. For example here is the exported XLIFF output of a UILabel with placeholder text and a Do Not Translate comment added in storyboard:<trans-unit id=1cv-zx-pu2.text> <source>Today 3:31pm</source> <note>Class = UILabel; text = Today 3:31pm; ObjectID = 1cv-zx-pu2; Note = Do Not Translate;</note></trans-unit>It requires extra manual work to determine if it should be translated or not. It is not a standardized way to skip translations
Apr ’18
Reply to Translations of Apple Developer Docs
The Korean and Chinese translations of The Swift Programming Language book are provided by community members. There does seem to be a Spanish translation, according to https://www.swift.org/documentation/#translations - maybe you could chat on the Swift Forums about it? There's a link to the appropriate subforum on that page i linked.
May ’23
Crash on Edit Scheme
Xcode crashes on Edit Scheme in 13.2.1 and it is reproducible in every scenario I could think of. I even tried reinstalling. I found something online that says to try without two screens, still crashes. I also tried something from a previous thread about Xcode 7 to try defaults delete com.apple.dt.Xcode in terminal. Still Crashing. Is there anything else that can be done or do I wait for it to be patched? full report attached xcode_crash_on_edit_scheme.txt
1
0
486
Feb ’22
How to specify what scheme is used by content previews
I have created custom schemes to setup my builds for different Firebase environments. These work perfectly for simulator builds and even for XCode Cloud builds. Sadly, the schemes are totally ignored when previewing content. My question is simple, do previews use schemes and if so how can I specify what scheme is used?
0
0
366
Oct ’22
Custom url scheme for key url
We are using custom url sheme for the key url eg. myscheme://twelve instead of skd://twelve. This (custom scheme) works on iOS. But it throwing up an error in Safari. Changing the scheme back to skd works in Safari. It there any limitation on the custom scheme that is supported by Safari? Or is there a method to register such custom sheme?
1
0
2.2k
Oct ’16
Reply to String Translator Extension
I understand that API returns Strings (in some cases) and you want to translate those Strings.Did you test cloud translation ?You would pass it the String returned by API, with the original language (that you should know) and the destination language.Have a look here:h ttps://cloud.google.com/translate/docs/translating-text
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Nov ’17
Reply to Easy and lightweight translation editing
The intended flow for working with translators is to use .strings (or the new .xcstrings) files within Xcode to specify/organize which strings need to be translated, then use Product > Export Localizations in the menu bar to get a Localization Catalog for a given language. This .xcloc file can then be sent to your translators and they can edit it in any translation tool of their choice that understands .xcloc or .xliff files. Then at some later point when they've finished translating, you can import the .xcloc file back into Xcode using Product > Import Localizations and the translations will be merged back into the .xc/strings files.
Replies
Boosts
Views
Activity
Jun ’23
Airport Utility iOS url scheme
While in Mac the ://apconfig:// apupdate schemes work fine and the airport opens automatically, in iOS I can't find any scheme that opens the airport utility
Replies
1
Boosts
0
Views
398
Activity
Aug ’24
Home app url scheme
Anyone know the url scheme to open the Home app UIApplication.sharedApplication().openURL()?
Replies
2
Boosts
0
Views
4.3k
Activity
Nov ’16
DTK "My Mac (Designed for iPhone)" scheme
In a Xcode 12 beta 5 project on the DTK I see a My Mac (Designed for iPad) scheme in my iOS target. I'd like to run the app as an iPhone app on the DTK instead. How do I either add a My Mac (Designed for iPhone) scheme or edit the Designed for iPad scheme to iPhone?
Replies
0
Boosts
0
Views
1.1k
Activity
Aug ’20
Reply to RealityKit add gestures and animations to Entity/ModelEntity
As a child of parentEntity, entity should appear to be scaled, rotated, and translated when parentEntity is scaled, rotated, and translated.
Topic: Graphics & Games SubTopic: RealityKit Tags:
Replies
Boosts
Views
Activity
Nov ’19
Duplicate url scheme operation
Hi, respectable developers.I want to run both commercial and test apps at the same time by installing two identical apps on my device while running my app. These two apps have different bundle IDs.The problem is that I use the url scheme, and I would like to call this url scheme to select one of the two installed apps.Is there any way?
Replies
0
Boosts
0
Views
595
Activity
Nov ’16
Xcode randomly modifies my scheme content
I'm struggling with maintaining source-controlled collaboration when Xcode just cannot make up its mind about how to generate the schemes. I don't edit the scheme and I get these sort of changes in git. from: to: It's pretty incomprehensible to me, but has anyone run into similar?
Replies
18
Boosts
0
Views
13k
Activity
Oct ’20
Reply to Strings Catalog (.xcstrings) plural rules without format (Xcode 15)
Hi, I have had the same problem you can achieve a string without a numerical specifier when editing the source code of the xcstrings file. right click .xcstrings > Open As > Source Code add this to strings object and edit this as your want: %lld day : { localizations : { de : { stringUnit : { state : translated, value : %#@day@ }, substitutions : { day : { formatSpecifier : lld, variations : { plural : { one : { stringUnit : { state : translated, value : Tag } }, other : { stringUnit : { state : translated, value : Tage } } } } } } }, en : { stringUnit : { state : translated, value : %#@day@ }, substitutions : { day : { formatSpecifier : lld, variations : { plural : { one : { stringUnit : { state : translated, value : day } }, other : { stringUnit : { state : translated, value : days } } } } } } } } }, note: %lld day is translated in German Its sad that we need to this every time manual by adding it to the source code.
Replies
Boosts
Views
Activity
Sep ’23
Reply to Apple Translate App URL Scheme
i just find that enter translate:// in safari will show the open in translate prompt, but will not actually open the app.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’20
Reply to Is it possible to exclude sample text from Storyboard localization strings?
My understanding of that Lock dropdown is meant to lock the control while translation is in progress. So you can Lock Localizable Properties to ensure they are not changed while you are waiting on translations to come back. Locking Non-localizable properties ensures you cannot edit other properties of the control.The problem with just using comments is that they appear as part of the larger note generated for that item. Its already a note full of technical details a translator is just going to ignore. For example here is the exported XLIFF output of a UILabel with placeholder text and a Do Not Translate comment added in storyboard:<trans-unit id=1cv-zx-pu2.text> <source>Today 3:31pm</source> <note>Class = UILabel; text = Today 3:31pm; ObjectID = 1cv-zx-pu2; Note = Do Not Translate;</note></trans-unit>It requires extra manual work to determine if it should be translated or not. It is not a standardized way to skip translations
Replies
Boosts
Views
Activity
Apr ’18
Reply to Translations of Apple Developer Docs
The Korean and Chinese translations of The Swift Programming Language book are provided by community members. There does seem to be a Spanish translation, according to https://www.swift.org/documentation/#translations - maybe you could chat on the Swift Forums about it? There's a link to the appropriate subforum on that page i linked.
Replies
Boosts
Views
Activity
May ’23
Crash on Edit Scheme
Xcode crashes on Edit Scheme in 13.2.1 and it is reproducible in every scenario I could think of. I even tried reinstalling. I found something online that says to try without two screens, still crashes. I also tried something from a previous thread about Xcode 7 to try defaults delete com.apple.dt.Xcode in terminal. Still Crashing. Is there anything else that can be done or do I wait for it to be patched? full report attached xcode_crash_on_edit_scheme.txt
Replies
1
Boosts
0
Views
486
Activity
Feb ’22
How to specify what scheme is used by content previews
I have created custom schemes to setup my builds for different Firebase environments. These work perfectly for simulator builds and even for XCode Cloud builds. Sadly, the schemes are totally ignored when previewing content. My question is simple, do previews use schemes and if so how can I specify what scheme is used?
Replies
0
Boosts
0
Views
366
Activity
Oct ’22
Custom url scheme for key url
We are using custom url sheme for the key url eg. myscheme://twelve instead of skd://twelve. This (custom scheme) works on iOS. But it throwing up an error in Safari. Changing the scheme back to skd works in Safari. It there any limitation on the custom scheme that is supported by Safari? Or is there a method to register such custom sheme?
Replies
1
Boosts
0
Views
2.2k
Activity
Oct ’16