-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
84 additions
and
34 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 |
---|---|---|
@@ -1,13 +1,14 @@ | ||
import { defineConfig } from "languine"; | ||
|
||
export default defineConfig({ | ||
projectId: "", | ||
locale: { | ||
source: "en", | ||
targets: ["es", "fr"], | ||
targets: ["es"], | ||
}, | ||
files: { | ||
json: { | ||
include: ["locales/[locale].json"], | ||
include: ["src/locales/[locale].json"], | ||
}, | ||
}, | ||
}); |
This file contains 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 |
---|---|---|
@@ -1,13 +1,11 @@ | ||
# This is a PO file containing English strings that serve as the source for translations. | ||
# Each entry consists of a msgid (string identifier) and msgstr (translated string). | ||
msgid "welcome_message" | ||
msgstr "Bienvenido a nuestra aplicación!" | ||
msgstr "¡Bienvenido a nuestra aplicación!" | ||
|
||
msgid "error_message" | ||
msgstr "Se produjo un error: {error_code}" | ||
msgstr "Ocurrió un error: {error_code}" | ||
|
||
msgid "example_message" | ||
msgstr "Este es un mensaje de ejemplo con una {variable}" | ||
msgstr "Este es un mensaje de ejemplo con un {variable}" | ||
|
||
msgid "hello" | ||
msgstr "Hola" | ||
msgstr "Hola" |
This file contains 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 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 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