Release Management

By default, any changes to translations made in Transifex, will almost instantly become available in the app using the Transifex Native SDK.

In the previous section, it was described how content splitting can be used to segment content for delivery using tags.

On top of that, the Native SDK provides some additional filtering options to serve translations based on a string's translation status.

A translated string can have the following additional statuses:

  • reviewed
  • proofread (if enabled in the workflow)
  • finalized (an alias to reviewed or proofread, depending on the latest configured workflow step)

By using the following initialization code, we can control whether we want to bring to our JavaScript app all translations or reviewed only translations:

// Serve only reviewed strings
tx.init({
  ...,
  filterStatus: 'reviewed',
});

// Serve only proofread strings
tx.init({
  ...,
  filterStatus: 'proofread',
});

// Serve only finalized strings
tx.init({
  ...,
  filterStatus: 'finalized',
});

The filter above can also be combined with tags filtering. For example:

// Serve only finalized strings tagged with
// either home or main tags
tx.init({
  ...,
  filterTags: 'home,main',
  filterStatus: 'finalized',
});