101010.pl is one of the many independent Mastodon servers you can use to participate in the fediverse.
101010.pl czyli najstarszy polski serwer Mastodon. Posiadamy wpisy do 2048 znaków.

Server stats:

484
active users

#stringcatalog

0 posts0 participants0 posts today
Chris Wu 🪐<p>To add support for Voice Control to this SwiftUI Picker if I use the commented out line everything works as expected. </p><p>However, if I use this method, which also returns an array of Strings, those Strings are not put into the Xcode String Catalog for translation.</p><p>Is there an easy way around this?</p><p>edit: Answer is use an array of LocalizedStringKeys!</p><p><a href="https://mastodon.social/tags/Xcode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Xcode</span></a> <a href="https://mastodon.social/tags/StringCatalog" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>StringCatalog</span></a> <a href="https://mastodon.social/tags/SwiftUI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SwiftUI</span></a> <a href="https://mastodon.social/tags/accessibility" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>accessibility</span></a> <a href="https://mastodon.social/tags/a11y" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>a11y</span></a> <a href="https://mastodon.social/tags/VoiceControl" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>VoiceControl</span></a></p>
Cihat Gündüz<p>Who wants this? 📱🌐</p><p>Built it to localize <span class="h-card" translate="no"><a href="https://iosdev.space/@CrossCraftApp" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>CrossCraftApp</span></a></span> to 7 languages. Drag &amp; drop translation of String Catalogs. Let me know if you’re interested.</p><p><a href="https://iosdev.space/tags/iOSDev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>iOSDev</span></a> <a href="https://iosdev.space/tags/L10n" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>L10n</span></a> <a href="https://iosdev.space/tags/I18n" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>I18n</span></a> <a href="https://iosdev.space/tags/StringCatalog" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>StringCatalog</span></a><br><a href="https://iosdev.space/tags/IndieDev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>IndieDev</span></a> <a href="https://iosdev.space/tags/BuildInPublic" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>BuildInPublic</span></a> <a href="https://iosdev.space/tags/AppLocalization" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AppLocalization</span></a></p>
Chris Wu 🪐<p>In some parts of my code Strings weren't getting automatically added to the Xcode 15 String Catalog. Previously what I was doing was manually adding those missing Strings myself.</p><p>After reading this blog post from <span class="h-card" translate="no"><a href="https://iosdev.space/@dvrzan" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>dvrzan</span></a></span> I tried creating those Strings like this in my code. That did the trick and they now get inserted automatically into my String Catalog.</p><p><a href="https://www.danijelavrzan.com/posts/2023/06/string-catalog/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">danijelavrzan.com/posts/2023/0</span><span class="invisible">6/string-catalog/</span></a></p><p><a href="https://mastodon.social/tags/Xcode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Xcode</span></a> <a href="https://mastodon.social/tags/SwiftUI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SwiftUI</span></a> <a href="https://mastodon.social/tags/StringCatalog" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>StringCatalog</span></a></p>
Chris Wu 🪐<p>When you add a newline character in code the Xcode 15 String Catalog uses it to format the localization that it shows you. You don't actually "see" the newline character like you do in code.</p><p>When you add a translation via the String Catalog that matches it a diff verifies that the newline is present.</p><p><a href="https://mastodon.social/tags/Xcode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Xcode</span></a> <a href="https://mastodon.social/tags/Xcode15" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Xcode15</span></a> <a href="https://mastodon.social/tags/StringCatalog" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>StringCatalog</span></a> <a href="https://mastodon.social/tags/l10n" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>l10n</span></a> <a href="https://mastodon.social/tags/localization" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>localization</span></a> <a href="https://mastodon.social/tags/SwiftUI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SwiftUI</span></a></p>