Cake.Transifex

Cake Aliases for using the transifex localization service client

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

dotnet add package Cake.Transifex --version 2.0.0

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

Aliases

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

General

TransifexInit(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.
TransifexInit() This command initializes the current repository with a default configuration file, and sets the host to www.transifex.com.
TransifexPull(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.
TransifexPull() 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.
TransifexPush(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.
TransifexPush() 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.
TransifexStatus(string) Prints the status of the current project by reading the data in the configuration file, but only for the specified resources.
TransifexStatus() Prints the status of the current project by reading the data in the configuration file.