Translation
Follow i18n for your applications - dynamically.
Model
use SaasReady\Models\Translation;Response Entity
type LanguageCode = 'en' | 'vi' | ...;
type Translation = {
uuid: string;
key: string;
label: string;
translations: Record<LanguageCode, string>; // {en: 'seth', vi: 'phat',...}
created_at: string;
updated_at: string;
}Endpoints
[GET] saas/translations
[GET] saas/translations/{languageUuid}
[POST] saas/translations
[PUT] saas/translations/{translationUuid}
[DELETE] saas/translations/{translationUuid}
Use Dynamic Translations
Last updated