Skip to content

Added option to completely disable transformation for admin or translation tools#16

Open
Kostanos wants to merge 1 commit into
TAPevents:masterfrom
Kostanos:master
Open

Added option to completely disable transformation for admin or translation tools#16
Kostanos wants to merge 1 commit into
TAPevents:masterfrom
Kostanos:master

Conversation

@Kostanos

Copy link
Copy Markdown

There are some moments when you need to create collection without transformation.
Translation tools are example.
And you need to preserve other functionality of tap-i18n-db collection for attach schema for example.

This pretty simple commit makes it possible.

Example of use:

Restaurants = new TAPi18n.Collection('restaurants', {
  languages: LanguagesList,
  base_language: 'en',
  disableTransformation: true,
});

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant