// backend/liveTranslate.jsw import { fetch } from 'wix-fetch'; import { getSecret } from 'wix-secrets-backend'; const BACKEND_URL = 'https://api.livetranslate.app'; export async function syncMemberTier(email, planId, planName, status) { const secret = await getSecret('LIVE_TRANSLATE_SYNC_SECRET'); const res = await fetch(`${BACKEND_URL}/api/v1/billing/wix/sync`, { method: 'POST', headers: { 'Content-Type': 'application/json', 'X-Wix-Sync-Secret': secret, }, body: JSON.stringify({ email, plan_id: planId, plan_name: planName, status }), }); if (!res.ok) throw new Error(await res.text()); return res.json(); } export async function getApiKey(email) { const secret = await getSecret('LIVE_TRANSLATE_SYNC_SECRET'); const res = await fetch(`${BACKEND_URL}/api/v1/auth/api-key`, { method: 'POST', headers: { 'Content-Type': 'application/json', 'X-Wix-Sync-Secret': secret, }, body: JSON.stringify({ email }), }); if (!res.ok) throw new Error(await res.text()); return res.json(); } --- Step 3: Call from Account Page On your Members Account page code: import { currentMember } from 'wix-members-frontend'; import { orders } from 'wix-pricing-plans.v2'; import { syncMemberTier, getApiKey } from 'backend/liveTranslate.jsw'; $w.onReady(async function () { const member = await currentMember.getMember(); if (!member?.loginEmail) return; // Get active plan const list = await orders.memberListOrders(); const active = list.orders?.find(o => o.status === 'ACTIVE'); // Sync to backend await syncMemberTier( member.loginEmail, active?.planId ?? null, active?.planName ?? null, active?.status ?? null ); // Get API key const { api_key, tier } = await getApiKey(member.loginEmail); // Display (add text elements #tierText and #apiKeyText to your page) $w('#tierText').text = `Plan: ${tier}`; $w('#apiKeyText').text = api_key; });
top of page

Take Live Translate Anywhere

Real-time accuracy in your pocket.

Get Started in Seconds

Live Translate is designed to be effortless. Follow these three steps to bridge the language gap immediately.

STEP 01

Download & Install

Get the Live Translate app from your platform's store. It takes less than a minute to install and set up your profile.

STEP 02
Enable AI Access

Grant the app permission to use your microphone and speech recognition services for instantaneous AI processing.

STEP 03
Talk Freely

Select your native and target languages, and hit translate. Start speaking naturally and hear the bridge form instantly.

Support & Updates

Release Notes

Stay informed about the latest high-fidelity voice synthesis updates and low-latency performance enhancements in our version history.

User Guides

Master Live Translate with detailed documentation on hardware setup, software integration, and advanced conversational AI settings.

Support Center

Access our global expert network for 24/7 technical assistance and consultation on cultural nuances for human-like accuracy.

bottom of page