Skip to content

Xcode String Catalogs for the macOS File Provider #809

@Rello

Description

@Rello

👤 App repository

To be done by you

  • Link to your repository: https://github.com/nextcloud/desktop
  • If the app is not in the Nextcloud organisation
  • Create file l10n/.gitkeep with empty content
  • Add .l10nignore to exclude compiled JS files and thirdparty code, e.g. ignoring compiled javascript assets and composer PHP dependencies in the vendor/ directory:
    js/
    vendor/
    
  • Create file .tx/config with the following content, replace {{APPID}} with your app id 3 times:
    ...
    [o:nextcloud:p:nextcloud:r:client-fileprovider]
    file_filter            = shell_integration/MacOSX/NextcloudIntegration/FileProviderExt/Localizable.xcstrings
    source_file            = shell_integration/MacOSX/NextcloudIntegration/FileProviderExt/Localizable.xcstrings
    source_lang            = en
    type                   = XCSTRINGS
    
    [o:nextcloud:p:nextcloud:r:client-fileproviderui]
    file_filter            = shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/Localizable.xcstrings
    source_file            = shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/Localizable.xcstrings
    source_lang            = en
    type                   = XCSTRINGS
    
  • ⚙️ Validate your repository and translation strings:
    bash translations/validateSyncSetup.sh Owner Repository

Hint:
Desktop client is dependent on the Iso codes of the operating, thats why de_de => de should not be relveant

🏗️ Sysadmin team

  • 👀 Ensure access:

  • ⚙️ Ensure repository setup and run initial source validation:

    bash translations/validateSyncSetup.sh Owner Repository
  • ➕ Add "Owner Repository", into https://github.com/nextcloud/docker-ci/edit/master/translations/config.json

    • Pull request:
  • 🔑 SSH into translation machine: ssh root@transifex-sync.nextcloud.com

  • ↩️ Change dir: cd /srv/docker-ci

  • ⬇️ Pull: git pull origin master

  • 🧑‍💻 Run the first sync manually:

    docker run -v /srv/cronie-data/transifexrc:/root/.transifexrc \
      -v /srv/cronie-data/gpg:/gpg \
      -v /srv/cronie-data/ssh/id_rsa:/root/.ssh/id_rsa \
      --rm -i ghcr.io/nextcloud/continuous-integration-translations-app \
      AUTHOR APPID

🔣 Translation team

  • Transifex: New resource should appear
  • Transifex: Do translations and check sync to repo
  • Add resource to wiki

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions