This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Transifex.
Summary
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.
- Assembly
- Cake
.Transifex .dll - Namespace
- Cake
.Transifex - Containing Type
- Transifex
Runner Aliases
Syntax
public static void TransifexPush(this ICakeContext context, TransifexPushSettings settings)
Examples
Run 'tx push' with additional arguments.
Cake task:
Task("Transifex-Push")
.Does(() =>
{
TransifexPush(options =>
{
options.UploadSourceFiles = true;
options.UploadTranslations = true;
});
};
Attributes
Type | Description |
---|---|
Cake |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | The context. |
settings | Transifex |
The settings. |
Return Value
Type | Description |
---|---|
void |