Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
@payloadcms/translations
Advanced tools
These are the translations for Payload. Translations are used on both the server and the client. The admin panel uses translations to display text to the user in their selected language. The server uses translations when sending API responses.
These are the translations for Payload. Translations are used on both the server and the client. The admin panel uses translations to display text to the user in their selected language. The server uses translations when sending API responses.
src/all
folderyarn build
// or
npm build
// or
pnpm build
src/all
folderwriteTranslationFiles.ts
file and add the key to either clientTranslationKeys
or serverTranslationKeys
depending on where the translation will be used.yarn build
// or
npm build
// or
pnpm build
src/all
folder with the language code as the file name (e.g. en.json
for English)src/index.ts
file and import your json file and then export it inside the translations
objectyarn build
// or
npm build
// or
pnpm build
Here is a full list of language keys. Note that these are not all implemented, but if you would like to contribute and add a new language, you can use this list as a reference:
Language Code | Language Name |
---|---|
af | Afrikaans |
am | Amharic |
ar-sa | Arabic (Saudi Arabia) |
as | Assamese |
az-Latn | Azerbaijani (Latin) |
be | Belarusian |
bg | Bulgarian |
bn-BD | Bangla (Bangladesh) |
bn-IN | Bangla (India) |
bs | Bosnian (Latin) |
ca | Catalan Spanish |
ca-ES-valencia | Valencian |
cs | Czech |
cy | Welsh |
da | Danish |
de | German (Germany) |
el | Greek |
en-GB | English (United Kingdom) |
en-US | English (United States) |
es | Spanish (Spain) |
es-ES | Spanish (Spain) |
es-US | Spanish (United States) |
es-MX | Spanish (Mexico) |
et | Estonian |
eu | Basque |
fa | Persian |
fi | Finnish |
fil-Latn | Filipino |
fr | French (France) |
fr-FR | French (France) |
fr-CA | French (Canada) |
ga | Irish |
gd-Latn | Scottish Gaelic |
gl | Galician |
gu | Gujarati |
ha-Latn | Hausa (Latin) |
he | Hebrew |
hi | Hindi |
hr | Croatian |
hu | Hungarian |
hy | Armenian |
id | Indonesian |
ig-Latn | Igbo |
is | Icelandic |
it | Italian (Italy) |
it-it | Italian (Italy) |
ja | Japanese |
ka | Georgian |
kk | Kazakh |
km | Khmer |
kn | Kannada |
ko | Korean |
kok | Konkani |
ku-Arab | Central Kurdish |
ky-Cyrl | Kyrgyz |
lb | Luxembourgish |
lt | Lithuanian |
lv | Latvian |
mi-Latn | Maori |
mk | Macedonian |
ml | Malayalam |
mn-Cyrl | Mongolian (Cyrillic) |
mr | Marathi |
ms | Malay (Malaysia) |
mt | Maltese |
nb | Norwegian (Bokmål) |
ne | Nepali (Nepal) |
nl | Dutch (Netherlands) |
nl-BE | Dutch (Netherlands) |
nn | Norwegian (Nynorsk) |
nso | Sesotho sa Leboa |
or | Odia |
pa | Punjabi (Gurmukhi) |
pa-Arab | Punjabi (Arabic) |
pl | Polish |
prs-Arab | Dari |
pt-BR | Portuguese (Brazil) |
pt-PT | Portuguese (Portugal) |
qut-Latn | K’iche’ |
quz | Quechua (Peru) |
ro | Romanian (Romania) |
ru | Russian |
rw | Kinyarwanda |
sd-Arab | Sindhi (Arabic) |
si | Sinhala |
sk | Slovak |
sl | Slovenian |
sq | Albanian |
sr-Cyrl-BA | Serbian (Cyrillic, Bosnia and Herzegovina) |
sr-Cyrl-RS | Serbian (Cyrillic, Serbia) |
sr-Latn-RS | Serbian (Latin, Serbia) |
sv | Swedish (Sweden) |
sw | Kiswahili |
ta | Tamil |
te | Telugu |
tg-Cyrl | Tajik (Cyrillic) |
th | Thai |
ti | Tigrinya |
tk-Latn | Turkmen (Latin) |
tn | Setswana |
tr | Turkish |
tt-Cyrl | Tatar (Cyrillic) |
ug-Arab | Uyghur |
uk | Ukrainian |
ur | Urdu |
uz-Latn | Uzbek (Latin) |
vi | Vietnamese |
wo | Wolof |
xh | isiXhosa |
yo-Latn | Yoruba |
zh-Hans | Chinese (Simplified) |
zh-Hant | Chinese (Traditional) |
zu | isiZulu |
FAQs
The home of Payloads API and Admin Panel translations.
We found that @payloadcms/translations demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 9 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.