-
Notifications
You must be signed in to change notification settings - Fork 65
chore: add Español - es-ES language support #533
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
SherlynS
wants to merge
1
commit into
asgardeo:main
Choose a base branch
from
SherlynS:sherlynS-add-spa
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "@asgardeo/i18n": minor | ||
| --- | ||
|
|
||
| Added to the Asgardeo JavaScript SDK support for Spanish (Español - es-ES). Overall accessibility for Spanish-speaking users. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,192 @@ | ||
| /** | ||
| * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). | ||
| * | ||
| * WSO2 LLC. licenses this file to you under the Apache License, | ||
| * Version 2.0 (the "License"); you may not use this file except | ||
| * in compliance with the License. | ||
| * You may obtain a copy of the License at | ||
| * | ||
| * http://www.apache.org/licenses/LICENSE-2.0 | ||
| * | ||
| * Unless required by applicable law or agreed to in writing, | ||
| * software distributed under the License is distributed on an | ||
| * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
| * KIND, either express or implied. See the License for the | ||
| * specific language governing permissions and limitations | ||
| * under the License. | ||
| */ | ||
|
|
||
| /* eslint-disable sort-keys */ | ||
| /* eslint-disable @typescript-eslint/naming-convention */ | ||
|
|
||
| import { I18nTranslations, I18nMetadata, I18nBundle } from '../models/i18n'; | ||
|
|
||
| const translations: I18nTranslations = { | ||
| /* |---------------------------------------------------------------| */ | ||
| /* | Elements | */ | ||
| /* |---------------------------------------------------------------| */ | ||
|
|
||
| /* Buttons */ | ||
| 'elements.buttons.signin.text': 'Iniciar sesión', | ||
| 'elements.buttons.signout.text': 'Cerrar sesión', | ||
| 'elements.buttons.signup.text': 'Registrarse', | ||
| 'elements.buttons.submit.text': 'Continuar', | ||
| 'elements.buttons.facebook.text': 'Continuar con Facebook', | ||
| 'elements.buttons.google.text': 'Continuar con Google', | ||
| 'elements.buttons.github.text': 'Continuar con GitHub', | ||
| 'elements.buttons.microsoft.text': 'Continuar con Microsoft', | ||
| 'elements.buttons.linkedin.text': 'Continuar con LinkedIn', | ||
| 'elements.buttons.ethereum.text': 'Continuar con Iniciar sesión con Ethereum', | ||
| 'elements.buttons.smsotp.text': 'Continuar con SMS OTP', | ||
| 'elements.buttons.multi.option.text': 'Continuar con {connection}', | ||
| 'elements.buttons.social.text': 'Continuar con {connection}', | ||
|
|
||
| /* Display */ | ||
| 'elements.display.divider.or_separator': 'O', | ||
| 'elements.display.copyable_text.copy': 'Copiar', | ||
| 'elements.display.copyable_text.copied': 'Copiado!', | ||
|
|
||
| /* Fields */ | ||
| 'elements.fields.generic.placeholder': 'Ingresa tu {field}', | ||
| 'elements.fields.username.label': 'Nombre de usuario', | ||
| 'elements.fields.username.placeholder': 'Ingresa tu nombre de usuario', | ||
| 'elements.fields.password.label': 'Contraseña', | ||
| 'elements.fields.password.placeholder': 'Ingresa tu Contraseña', | ||
| 'elements.fields.first_name.label': 'Nombre', | ||
| 'elements.fields.first_name.placeholder': 'Ingresa tu nombre', | ||
| 'elements.fields.last_name.label': 'Apellido', | ||
| 'elements.fields.last_name.placeholder': 'Ingresa tu apellido', | ||
| 'elements.fields.email.label': 'Correo electrónico', | ||
| 'elements.fields.email.placeholder': 'Correo electrónico', | ||
| 'elements.fields.organization.name.label': 'Nombre de la organización', | ||
| 'elements.fields.organization.handle.label': 'Identificador de la organización', | ||
| 'elements.fields.organization.description.label': 'Descripción de la organización', | ||
| 'elements.fields.organization.select.label': 'Seleccionar organización', | ||
| 'elements.fields.organization.select.placeholder': 'Elige una organización', | ||
|
|
||
| /* Validation */ | ||
| 'validations.required.field.error': 'Este campo es obligatorio', | ||
|
|
||
| /* |---------------------------------------------------------------| */ | ||
| /* | Widgets | */ | ||
| /* |---------------------------------------------------------------| */ | ||
|
|
||
| /* Base Sign In */ | ||
| 'signin.heading': 'Iniciar sesión', | ||
| 'signin.subheading': 'Bienvenido de nuevo! Por favor, inicia sesión para continuar.', | ||
|
|
||
| /* Base Sign Up */ | ||
| 'signup.heading': 'Regístrate', | ||
| 'signup.subheading': 'Crea una nueva cuenta para empezar.', | ||
|
|
||
| /* Email OTP */ | ||
| 'email.otp.heading': 'Verificación de OTP', | ||
| 'email.otp.subheading': 'Ingresa el código que te enviamos a tu correo electrónico.', | ||
| 'email.otp.buttons.submit.text': 'Continuar', | ||
|
|
||
| /* Identifier First */ | ||
| 'identifier.first.heading': 'Iniciar sesión', | ||
| 'identifier.first.subheading': 'Ingresa tu nombre de usuario o dirección de correo.', | ||
| 'identifier.first.buttons.submit.text': 'Continuar', | ||
|
|
||
| /* SMS OTP */ | ||
| 'sms.otp.heading': 'Verificación de OTP', | ||
| 'sms.otp.subheading': 'Ingresa el código que te enviaron a tu número de teléfono.', | ||
| 'sms.otp.buttons.submit.text': 'Continuar', | ||
|
|
||
| /* TOTP */ | ||
| 'totp.heading': 'Verifica tu identidad', | ||
| 'totp.subheading': 'Introduce el código de tu aplicación de autenticación.', | ||
| 'totp.buttons.submit.text': 'Continuar', | ||
|
|
||
| /* Username Password */ | ||
| 'username.password.heading': 'Iniciar sesión', | ||
| 'username.password.subheading': 'Ingresa tu usuario y contraseña para continuar.', | ||
| 'username.password.buttons.submit.text': 'Continuar', | ||
|
|
||
| /* Passkeys */ | ||
| 'passkey.button.use': 'Iniciar sesión con clave de acceso', | ||
| 'passkey.signin.heading': 'Iniciar sesión con clave de acceso', | ||
| 'passkey.register.heading': 'Registrar clave de acceso', | ||
| 'passkey.register.description': 'Crea una clave de acceso para iniciar sesión en tu cuenta de manera segura sin contraseña.', | ||
|
|
||
| /* |---------------------------------------------------------------| */ | ||
| /* | User Profile | */ | ||
| /* |---------------------------------------------------------------| */ | ||
|
|
||
| 'user.profile.heading': 'Perfil', | ||
| 'user.profile.update.generic.error': 'Ocurrió un error al actualizar tu perfil. Por favor, inténtalo de nuevo.', | ||
|
|
||
| /* |---------------------------------------------------------------| */ | ||
| /* | Organization Switcher | */ | ||
| /* |---------------------------------------------------------------| */ | ||
|
|
||
| 'organization.switcher.switch.organization': 'Cambiar de organización', | ||
| 'organization.switcher.loading.placeholder.organizations': 'Cargando organizaciones...', | ||
| 'organization.switcher.members': 'miembros', | ||
| 'organization.switcher.member': 'miembro', | ||
| 'organization.switcher.create.organization': 'Crear organización', | ||
| 'organization.switcher.manage.organizations': 'Administrar organizaciones', | ||
| 'organization.switcher.buttons.manage.text': 'Administrar', | ||
| 'organization.switcher.organizations.heading': 'Organizaciones', | ||
| 'organization.switcher.buttons.switch.text': 'Cambiar', | ||
| 'organization.switcher.no.access': 'Sin Acceso', | ||
| 'organization.switcher.status.label': 'Estatus:', | ||
| 'organization.switcher.showing.count': 'Mostrando {showing} de {total} organizaciones', | ||
| 'organization.switcher.buttons.refresh.text': 'Actualizar', | ||
| 'organization.switcher.buttons.load_more.text': 'Cargar más organizaciones', | ||
| 'organization.switcher.loading.more': 'Cargando...', | ||
| 'organization.switcher.no.organizations': 'No se encontraron organizaciones', | ||
| 'organization.switcher.error.prefix': 'Error:', | ||
|
|
||
| 'organization.profile.heading': 'Perfil de la organización', | ||
| 'organization.profile.loading': 'Cargando organización...', | ||
| 'organization.profile.error': 'No se pudo cargar la organización', | ||
|
|
||
| 'organization.create.heading': 'Crear organización', | ||
| 'organization.create.buttons.create_organization.text': 'Crear organización', | ||
| 'organization.create.buttons.create_organization.loading.text': 'Creando...', | ||
| 'organization.create.buttons.cancel.text': 'Cancelar', | ||
|
|
||
| /* |---------------------------------------------------------------| */ | ||
| /* | Messages | */ | ||
| /* |---------------------------------------------------------------| */ | ||
|
|
||
| 'messages.loading.placeholder': 'Cargando...', | ||
|
|
||
| /* |---------------------------------------------------------------| */ | ||
| /* | Errors | */ | ||
| /* |---------------------------------------------------------------| */ | ||
|
|
||
| 'errors.heading': 'Error', | ||
| 'errors.signin.components.not.available': 'El formulario de inicio de sesión no está disponible en este momento. Por favor, inténtalo de nuevo más tarde.', | ||
| 'errors.signin.initialization': 'Ocurrió un error al iniciar. Por favor, inténtalo de nuevo más tarde.', | ||
| 'errors.signin.flow.failure': 'Ocurrió un error durante el proceso de inicio de sesión. Por favor, inténtalo de nuevo más tarde.', | ||
| 'errors.signin.flow.completion.failure': | ||
| 'Ocurrió un error al completar el proceso de inicio de sesión. Por favor, inténtalo de nuevo más tarde.', | ||
| 'errors.signin.flow.passkeys.failure': 'Ocurrió un error al iniciar sesión con clave de acceso. Por favor, inténtalo de nuevo más tarde.', | ||
| 'errors.signin.flow.passkeys.completion.failure': | ||
| 'Ocurrió un error al completar el inicio de sesión con claves de acceso. Por favor, intenta de nuevo más tarde.', | ||
| 'errors.signin.timeout': 'Se terminó el tiempo para completar el paso.', | ||
|
|
||
| 'errors.signup.initialization': 'Ocurrió un error al iniciar. Por favor, inténtalo de nuevo más tarde.', | ||
| 'errors.signup.flow.failure': 'Ocurrió un error durante el proceso de registro. Por favor, inténtalo de nuevo más tarde.', | ||
| 'errors.signup.flow.initialization.failure': | ||
| 'Ocurrió un error al iniciar el proceso de registro. Por favor, inténtalo de nuevo más tarde.', | ||
| 'errors.signup.components.not.available': 'El formulario de registro no está disponible en este momento. Por favor, inténtalo de nuevo más tarde.', | ||
| }; | ||
|
|
||
| const metadata: I18nMetadata = { | ||
| localeCode: 'es-ES', | ||
| countryCode: 'ES', | ||
| languageCode: 'es', | ||
| displayName: 'Español (España)', | ||
| direction: 'ltr', | ||
| }; | ||
|
|
||
| const es_ES: I18nBundle = { | ||
| metadata, | ||
| translations, | ||
| }; | ||
|
|
||
| export default es_ES; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.