Cake.Transifex

Cake Aliases for using the transifex localization service client

#addin nuget:?package=Cake.Transifex&version=0.9.1

<package id="Cake.Transifex" version="0.9.1" />

dotnet add package Cake.Transifex --version 0.9.1

<PackageReference Include="Cake.Transifex" Version="0.9.1" />

Aliases

Provides a wrapper around transifex client functionality within a Cake build script.

General

TransifexInit(ICakeContext) This command initializes the current repository with a default configuration file, and sets the host to www.transifex.com.
TransifexInit(ICakeContext, TransifexInitSettings) This command initializes the current repository with a default configuration file, and optionally the user configuration file with either a Username + Password combination or an API token.
TransifexPull(ICakeContext) This command pulls all outstanding changes from the remote Transifex server to the local repository. By default only the files that are watched by transifex will be updated.
TransifexPull(ICakeContext, TransifexPullSettings) This command pulls all outstanding changes from the remote Transifex server to the local repository. By default, only the files that are watched by Transifex will be updated but if you want to fetch the translations for new languages as well, set the All property to true in the settings.
TransifexPush(ICakeContext) This command pushes all local files that have been added to Transifex to the remote server. All new translations are merged with existing ones and if a language doesn't exist then it is created.
TransifexPush(ICakeContext, TransifexPushSettings) This command pushes all local files that have been added to Transifex to the remote server. All new translations are merged with existing ones and if a language doesn't exist then it gets created. If you want to push the source file as well (either because this is your first time running the client or because you have updated with new entries), set the UploadSourceFiles to true. By default, this command will push all files which are watched by Transifex but you can filter this per resource or/and language.
TransifexStatus(ICakeContext) Prints the status of the current project by reading the data in the configuration file.
TransifexStatus(ICakeContext, string) Prints the status of the current project by reading the data in the configuration file, but only for the specified resources.