@molecule/api-locales-payment
v1.0.1
Published
<!-- AUTO-GENERATED — DO NOT EDIT THIS FILE. Generated by `mlcl sync-docs` from the package's src/index.ts JSDoc + mlcl/registry.json. Edits here are overwritten on the next commit (molecule's pre-commit hook regenerates). To change this document, edit th
Readme
@molecule/api-locales-payment
Auto-generated, AI-first package reference for the molecule.dev ecosystem. It is written to be read by coding agents as much as by people, and is generated from this package's source — edit
src/index.tsJSDoc, not this file.
Translations for molecule payment resource in 79 languages
Languages
79 languages supported: af, am, ar, az, be, bg, bn, bs, ca, cs, cy, da, de, el, en, es, et, eu, fa, fi, fil, fr, ga, gl, gu, ha, he, hi, hr, hu, hy, id, ig, is, it, ja, ka, kk, km, kn, ko, ky, lo, lt, lv, mk, ml, mn, mr, ms, mt, my, nb, ne, nl, pa, pl, pt, ro, ru, si, sk, sl, sq, sr, sv, sw, ta, te, th, tr, uk, ur, uz, vi, yo, zh, zh-TW, zu.
Quick Start
import { af, am, ar } from '@molecule/api-locales-payment'
import type { PaymentTranslationKey, PaymentTranslations } from '@molecule/api-locales-payment'Registration
In an mlcl-scaffolded app, installed locale bonds are registered automatically by the app's i18n setup at startup — installing this package is normally all you need. To register manually (or in a custom app), pass the whole module to registerLocaleModule from @molecule/api-i18n at startup:
import { registerLocaleModule } from '@molecule/api-i18n'
import * as locales from '@molecule/api-locales-payment'
registerLocaleModule(locales)Editing translations
en.ts is the canonical key set — every other language file mirrors its keys. To change or add strings, edit the locale files in this package (add new keys to en.ts first) or merge overrides at runtime with addTranslations(locale, map). Never hand-write translations inline in feature code: features call t(key, values, { defaultValue }) and THIS bond supplies the translations — inline strings bypass every other language.
Translation Keys
| Key | English |
| -------------------------------------------- | --------------------------------------------------------------------------- |
| payment.plan.free.title | Free |
| payment.plan.free.description | Certain features are limited. Upgrade your plan to unlock premium features. |
| payment.plan.free.shortDescription | Limited features and usage. |
| payment.plan.monthly.title | Monthly |
| payment.plan.yearly.title | Yearly |
| payment.plan.premium.description | Premium features and unlimited usage. |
| payment.plan.yearly.highlightedDescription | Get one month free, every year. |
Metadata
- Type: locales
- Category: i18n
- Stack: api
