TAPevents / tap-i18n-db

MIT License
51 stars 17 forks source link

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

Open Kostanos opened 9 years ago

Kostanos commented 9 years ago

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,
});