Skip to content

Android-Common libraryΒ #824

@AndyScherzinger

Description

@AndyScherzinger

πŸ‘€ App repository

⚠️ Attention! This is an ANDROID library.

To be done by you

  • Link to your repository: https://github.com/nextcloud/android-common
  • 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: (Conditional, relative/absolute date/time formatterΒ android-common#771)
    [main]
    host     = https://www.transifex.com
    lang_map = hu_HU: hu, nb_NO: nb, sk_SK: sk, th_TH: th, ja_JP: ja, bg_BG: bg, cs_CZ: cs, fi_FI: fi
    
    [o:nextcloud:p:nextcloud:r:{{APPID}}]
    file_filter = translationfiles/<lang>/{{APPID}}.po
    source_file = translationfiles/templates/{{APPID}}.pot
    source_lang = en
    type        = PO
  • βš™οΈ Validate your repository and translation strings:
    bash translations/validateSyncSetup.sh Owner Repository

πŸ—οΈ 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

  • πŸ”‘ 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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions