{"library":"better-auth-localization","type":"library","category":null,"description":"The `better-auth-localization` plugin provides comprehensive internationalization (i18n) capabilities for error messages generated by the `better-auth` library and its official plugins. It aims to offer a seamless developer experience by automatically translating error messages without requiring changes to application logic. Currently at v3.0.0, this package regularly releases patch updates for new language support and minor fixes, with major versions tied to significant updates in its peer dependency, `better-auth`. Key features include multi-language support, automatic error message translation, full TypeScript type safety with autocomplete for custom translations, a robust fallback system for missing translations, flexible locale detection strategies (e.g., from headers, cookies, or database), and zero runtime overhead as translations are bundled at build time. It differentiates itself by tightly integrating with the `better-auth` ecosystem to provide a specialized localization solution.","language":"javascript","status":"active","version":"3.0.0","tags":["javascript","better-auth","better-localization","better-auth-localization","localization","i18n","internationalization","translation","language","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install better-auth-localization","imports":["import { localization } from 'better-auth-localization';","import type { LocalizationPluginOptions } from 'better-auth-localization';","import { betterAuth } from 'better-auth';"]},{"cmd":"yarn add better-auth-localization","imports":[]},{"cmd":"pnpm add better-auth-localization","imports":[]}],"homepage":null,"github":"https://github.com/marcellosso/better-auth-localization","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/better-auth-localization","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/better-auth-localization/compatibility"}}