{"id":3270,"date":"2025-11-17T00:52:05","date_gmt":"2025-11-16T23:52:05","guid":{"rendered":"https:\/\/desairem.com\/wordpress\/?p=3270"},"modified":"2025-11-17T00:53:57","modified_gmt":"2025-11-16T23:53:57","slug":"localiji-integrate-official-apple-glossary-into-your-app","status":"publish","type":"post","link":"https:\/\/desairem.com\/wordpress\/localiji-integrate-official-apple-glossary-into-your-app\/","title":{"rendered":"Integrate official Apple glossary into your app"},"content":{"rendered":"\n<p>Apple offers official translations of many strings used across their operating systems. These translations are bundled by operating system and by language. To facilitate integrating a translation into your app, Localiji can parse all translations, aggregating the available languages, and bundle them by the string key, allowing you to export all translations of a key at once.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"2314\" height=\"1556\" src=\"https:\/\/desairem.com\/wordpress\/wp-content\/uploads\/2025\/09\/localiji-screenshot-6-apple-glossary.png\" alt=\"\" class=\"wp-image-5089\" style=\"width:1157px\"\/><\/figure>\n\n\n\n<p>First, download the glossary files from the <a href=\"https:\/\/developer.apple.com\/download\/all\/?q=glossaries\">Apple Developer website<\/a> to your Downloads folder.<\/p>\n\n\n\n<p>You can mount each individual .dmg file and copy the contents to a new directory, or run the following Terminal script to mount all .dmg files and copy their contents into a new directory <code>\/path\/to\/Downloads\/glossaries<\/code> (please replace <code>\/path\/to\/Downloads<\/code> with the real path):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>for file in \/path\/to\/Downloads\/*.dmg; do language=$(basename \"$file\" .dmg); hdiutil attach -mountpoint \"\/Volumes\/$language\" $file; mkdir -p \"\/path\/to\/Downloads\/glossaries\/$language\"; cp -R \"\/Volumes\/$language\" \"\/path\/to\/Downloads\/glossaries\"; hdiutil unmount \"\/Volumes\/$language\"; done;<\/code><\/pre>\n\n\n\n<p>Now you can open the <code>\/path\/to\/Downloads\/glossaries<\/code> directory in Localiji. It could take a couple minutes for the window to load.<\/p>\n\n\n\n<p>Select a key in the sidebar to see the aggregated translations. Control-click a key to open the context menu, then select Copy to copy all translations in Xcode&#8217;s <code>.xcstrings<\/code> format, which you can paste in your <code>Localizable.xcstrings<\/code> file.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Apple offers official translations of many strings used across their operating systems. These translations are bundled by operating system and by language. To facilitate integrating a translation into your app, Localiji can parse all translations, aggregating the available languages, and bundle them by the string key, allowing you to export all translations of a key [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"wp-custom-template-localiji-help-post","format":"standard","meta":{"footnotes":""},"categories":[22],"tags":[],"class_list":["post-3270","post","type-post","status-publish","format-standard","hentry","category-localiji-help"],"_links":{"self":[{"href":"https:\/\/desairem.com\/wordpress\/wp-json\/wp\/v2\/posts\/3270","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/desairem.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/desairem.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/desairem.com\/wordpress\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/desairem.com\/wordpress\/wp-json\/wp\/v2\/comments?post=3270"}],"version-history":[{"count":6,"href":"https:\/\/desairem.com\/wordpress\/wp-json\/wp\/v2\/posts\/3270\/revisions"}],"predecessor-version":[{"id":5473,"href":"https:\/\/desairem.com\/wordpress\/wp-json\/wp\/v2\/posts\/3270\/revisions\/5473"}],"wp:attachment":[{"href":"https:\/\/desairem.com\/wordpress\/wp-json\/wp\/v2\/media?parent=3270"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/desairem.com\/wordpress\/wp-json\/wp\/v2\/categories?post=3270"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/desairem.com\/wordpress\/wp-json\/wp\/v2\/tags?post=3270"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}