Official SDKs for Tenlixor localization platform - Multilingual support for web and mobile applications.
Full-featured SDK with framework adapters for Angular, Vue, and React.
npm install @verbytes-tenlixor/sdkFeatures:
- β Full TypeScript support with strict typing
- β Framework adapters: Angular Pipe, Vue Plugin, React Hooks
- β Auto DOM scanning for automatic translations
- β Smart caching with localStorage
- β Zero runtime dependencies
Supported Frameworks:
π °οΈ Angular 12+- βοΈ React 16.8+
- π’ Vue 3+
- π Vanilla JavaScript/TypeScript
React Native SDK with AsyncStorage support for offline translations.
npm install @verbytes-tenlixor/react-native @react-native-async-storage/async-storageFeatures:
- π± iOS & Android support
- πΎ Persistent storage with AsyncStorage
- π Automatic sync from API
- β‘ Fast & lightweight
- π― Full TypeScript support
- πͺ React hooks integration
Dart SDK for Flutter applications with SharedPreferences support.
flutter pub add tenlixorFeatures:
- π± iOS & Android support
- πΎ Persistent storage with SharedPreferences
- π Event streams (loaded, languageChanged, error)
- π¨ ChangeNotifier integration
- π― Full Dart type safety
- β‘ Fast & lightweight
π Documentation | π¦ pub.dev
import { Tenlixor } from '@verbytes-tenlixor/sdk';
const txr = new Tenlixor({
token: 'YOUR_API_TOKEN',
tenantSlug: 'your-tenant-slug',
language: 'en'
});
await txr.init();
console.log(txr.t('app.welcome')); // "Welcome to Tenlixor!"import { Tenlixor, useTenlixor } from '@verbytes-tenlixor/react-native';
const txr = new Tenlixor({
token: 'YOUR_API_TOKEN',
tenantSlug: 'your-tenant-slug',
language: 'en',
persistentStorage: true
});
function App() {
const { t, language, setLanguage, isReady } = useTenlixor(txr);
if (!isReady) return <ActivityIndicator />;
return (
<View>
<Text>{t('app.welcome')}</Text>
<Button title="Switch to TR" onPress={() => setLanguage('tr')} />
</View>
);
}- TypeScript/JavaScript SDK Documentation
- React Native SDK Documentation
- Tenlixor Platform Documentation
Test applications are available in the test directory:
- React Test App - Vite + React example
- Vue Test App - Vite + Vue example
- Angular Test App - Angular CLI example
- JavaScript Test App - Vanilla JS example
Tenlixor-SDK/
βββ sdk/
β βββ typescript/ # Web SDK (TS/JS)
β βββ react-native/ # React Native SDK
β βββ javascript/ # Legacy JS build
βββ test/
β βββ react-test/
β βββ vue-test/
β βββ angular-test/
β βββ javascript-test/
βββ README.md
# TypeScript SDK
cd sdk/typescript
npm install
npm run build
# React Native SDK
cd sdk/react-native
npm install
npm run buildMIT Β© Verbytes
- π§ Email: support@verbytes.com
- π Issues: GitHub Issues
- π Website: tenlixor.verbytes.com