From a1052d4d8f62b9c38983cece93b610382bac2a72 Mon Sep 17 00:00:00 2001 From: Blake McAnally Date: Fri, 28 Jun 2024 18:15:13 -0500 Subject: [PATCH 1/2] Update translate.mdx Update translations instructions for Meshtastic-Apple --- docs/software/apple/translate.mdx | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/docs/software/apple/translate.mdx b/docs/software/apple/translate.mdx index 50ddac52..ea95b8db 100644 --- a/docs/software/apple/translate.mdx +++ b/docs/software/apple/translate.mdx @@ -7,12 +7,13 @@ sidebar_position: 3 ## How to Contribute -Contributing translations to the Meshtastic Apple app helps make the project accessible to a wider audience. Follow these steps to add translations for a new language: +Contributing translations to the Meshtastic Apple app helps make the project accessible to a wider audience. The Meshtastic Apple app uses [string catalogs](https://developer.apple.com/documentation/xcode/localizing-and-varying-text-with-a-string-catalog) in Xcode to manage translations. -1. **Fork the Repository**: Start by forking the [Meshtastic-Apple repository]() to your GitHub account. -2. **Create a Language Folder**: In your forked repository, create a new folder for your language using the language code followed by `.lproj`. For example, for German, create a folder named `de.lproj`. -3. **Copy the Localizable.strings File**: Navigate to the [English strings folder]() and copy the `Localizable.strings` file. Paste this file into the folder you created in the previous step. -4. **Translate the Strings**: Open the `Localizable.strings` file in your language folder and translate the English strings into your language. Be sure to maintain the format of the file. -5. **Create a Pull Request**: Once you've completed the translation, create a new pull request from your forked repository to the main Meshtastic-Apple repository. Title the pull request appropriately (e.g., "Add German Translation") and describe the changes you've made. +If you would like to update the translations for a locale or add a new language, follow these steps. -Your contribution will be reviewed, and upon approval, your translation will be included in the next release of the Meshtastic Apple app. Thank you for helping expand the reach of Meshtastic! \ No newline at end of file +1. Clone the project and open the `Meshtastic.xcworkspace` +2. Select the `Localizable.xcstrings` file in the project navigator. +3. Follow the steps outlined [here](https://developer.apple.com/documentation/xcode/localizing-and-varying-text-with-a-string-catalog) for adding or updating translations. +4. Create a PR on the project with your changes. + +Your contribution will be reviewed, and upon approval, your translation will be included in the next release of the Meshtastic Apple app. Thank you for helping expand the reach of Meshtastic! From 57a15f7015d634a112bdb9ca1d451c6a24060a0a Mon Sep 17 00:00:00 2001 From: pdxlocations <117498748+pdxlocations@users.noreply.github.com> Date: Fri, 20 Sep 2024 22:43:05 -0700 Subject: [PATCH 2/2] Update translate.mdx --- docs/software/apple/translate.mdx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/software/apple/translate.mdx b/docs/software/apple/translate.mdx index ea95b8db..f83b256f 100644 --- a/docs/software/apple/translate.mdx +++ b/docs/software/apple/translate.mdx @@ -11,9 +11,10 @@ Contributing translations to the Meshtastic Apple app helps make the project acc If you would like to update the translations for a locale or add a new language, follow these steps. -1. Clone the project and open the `Meshtastic.xcworkspace` -2. Select the `Localizable.xcstrings` file in the project navigator. -3. Follow the steps outlined [here](https://developer.apple.com/documentation/xcode/localizing-and-varying-text-with-a-string-catalog) for adding or updating translations. -4. Create a PR on the project with your changes. +1. Start by forking the [Meshtastic-Apple repository]() to your GitHub account. +2. Clone the project and open the `Meshtastic.xcworkspace` +3. Select the `Localizable.xcstrings` file in the project navigator. +4. Follow the steps outlined [here](https://developer.apple.com/documentation/xcode/localizing-and-varying-text-with-a-string-catalog) for adding or updating translations. +5. Create a PR on the project with your changes. Your contribution will be reviewed, and upon approval, your translation will be included in the next release of the Meshtastic Apple app. Thank you for helping expand the reach of Meshtastic!