Skip to content

Add translations#26

Description

@henmohr

Hello! Nice app!

Can you please add translations? These are the steps required, avaible also here.

馃懁 App repository

To be done by you

  • Link to your repository:
  • 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:
    [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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions