Added languages.

pull/88/head
rmcpantoja 1 year ago
parent e1176665b9
commit 3f15f00846
No known key found for this signature in database
GPG Key ID: 2DBC6DD426A2FEA4

@ -0,0 +1,24 @@
[language info]
Name=
code=
version=
author=
Copyright=
[Strings]
Model failed to download!=
No downloaded voice packages!=
You have not loaded any model from the list!=
Select voice package:=
Load it!=
Select speaker:=
Rate scale=
Phoneme noise scale=
Phoneme stressing scale=
Enter your text here:=
Text to synthesize=
Synthesize=
Auto-play=
Click here to synthesize the text.=
Exit=
Closes this GUI.=
audio history=

@ -0,0 +1,24 @@
[language info]
Name=Español
code=Es
version=0.1
author=Mateo Cedillo
Copyright=© 2018-2023 MT Programs, todos los derechos Reservados
[Strings]
Model failed to download!=¡No se pudo descargar el modelo!
No downloaded voice packages!=¡No se han descargado paquetes de voz!
You have not loaded any model from the list!=¡No has cargado ningún modelo de la lista!
Select voice package:=Selecciona paquete de voz:
Load it!=¡Cárgalo!
Select speaker:=Selecciona hablante:
Rate scale=Escala de velocidad
Phoneme noise scale=Escala de resonancia de fonemas
Phoneme stressing scale=Escala de acentuación de fonemas
Enter your text here:=Introduce tu texto aquí:
Text to synthesize=Texto a sintetizar
Synthesize=Sintetizar
Auto-play=Auto-reproducir
Click here to synthesize the text.=Haz clic aquí para sintetizar el texto.
Exit=Salir
Closes this GUI.=Cierra esta interfaz.
audio history=Historial de audio

@ -0,0 +1,21 @@
Instrucciones para traductores
Este documento es una pequeña guía de instrucciones que ayudarán mejor a la creación de idiomas y entender su sintaxis.
*Crear un nuevo idioma:
Para crear un nuevo idioma, primero debes hacer una copia del archivo 0.txt, ya que ese archivo es una plantilla vacía de traducción y en esa plantilla nos basaremos para crear las entradas y los mensajes.
Una vez hecha la copia del archivo 0.txt, nos posicionamos en la misma y renombramos el archivo a las dos primeras letras de tu idioma. Por ejemplo, si queremos hacer una traducción a francés entonces tendríamos que poner "fr" de "français", y hay que tener en cuenta que si queremos que nuestra traducción funcione en el programa deberemos cambiar la extensión te .txt a .lang. Antes funcionava solo con cambiar el nombre pero no la extensión, pero finalmente se ha decidido así por cambios técnicos y para la autodetección de idiomas nuevos.
Una vez tengamos nuestra propia plantilla, debemos abrirla con algún editor de textos, y podemos comenzar a hacer nuestras entradas de traducción.
Como podemos fijarnos, al principio hay una línea encerrada entre corchetes. Esas líneas se denominan secciones, y la primera es languaje info, sección de información sobre el idioma que estamos creando.
Explicaré las siguientes líneas que debemos llenar al final de la línea, después del signo igual:
Name: El nombre original de tu idioma, por ejemplo, si queremos hacer una traducción en inglés quedará como "English", o, si en cambio es una traducción en español entonces se escribirá "Español", si es un idioma en portugués quedará como "português", y se aplica en todos los idiomas.
Code: En este parámetro pondremos de nuevo las dos primeras letras del idioma a traducir, como lo hicimos en el primer paso de la creación del archivo.
version: Versión del idioma. El idioma puede tener una versión, pero es más recomendable que sea la del programa.
author: El nombre del autor que crea el idioma.
Copyright: Es opcional, si queremos poner derechos de autor.
E aquí terminamos con la primera sección.
*Segunda sección.
strings:
En esta sección se encuentran todos los mensajes disponibles para traducir.
Notarás que en cada línea hay un signo igual al final (=) Este signo es importante, pues sirve para identificar el mensaje original (antes de =) y el valor a ser traducido (después de =).
Para traducir un mensaje, debes hacerlo al final de la línea que estás traduciendo, después del signo "=", siempre y cuando se respete la puntuación y las reglas del mensaje original.
Una vez terminado, puedes mandarlo a revisión a angelitomateocedillo@gmail.com o, en cualquiera de mis aplicaciones, seleccionando la opción "errores y sugerencias" en el menú ayuda y enviando el archivo al formulario que se te redirige a tu navegador.
Fin.

@ -0,0 +1,21 @@
Instructions for translators
This document is a short instruction guide that will better help you create languages and understand their syntax.
* Create a new language:
To create a new language, you must first make a copy of the 0.txt file, since that file is an empty translation template and we will use that template to create the posts and messages.
Once the copy of the 0.txt file is made, we position ourselves in it and rename the file to the first two letters of your language. For example, if we want to make a French translation then we would have to put "fr" from "français", and we must bear in mind that if we want our translation to work in the program we must change the extension .txt to .lang. Before it only worked by changing the name but not the extension, but finally it has been decided that way for technical changes and for the autodetection of new languages.
Once we have our own template, we must open it with a text editor, and we can start making our translation entries.
As we can see, at the beginning there is a line enclosed in square brackets. These lines are called sections, and the first one is language info, a section with information about the language we are creating.
I will explain the following lines that we must fill at the end of the line, after the equal sign:
Name: The original name of your language, for example, if we want to make a translation in English it will remain as "English", or, if instead it is a translation in Spanish then it will be written "Español", if it is a language in Portuguese it will remain as "português", and it applies in all languages.
Code: In this parameter we will put again the first two letters of the language to be translated, as we did in the first step of creating the file.
version: Language version. The language may have a version, but it is recommended that it be that of the program.
author: The name of the author who creates the language.
Copyright: It is optional, if we want to put copyright.
And here we end with the first section.
*Second section.
strings:
In this section you will find all the messages available for translation.
You will notice that in each line there is an equal sign at the end (=) This sign is important, as it serves to identify the original message (before =) and the value to be translated (after =).
To translate a message, you must do it at the end of the line you are translating, after the "=" sign, as long as the punctuation and rules of the original message are respected.
Once finished, you can send it for review to angelitomateocedillo@gmail.com or, in any of my applications, selecting the option "errors and suggestions" in the help menu and sending the file to the form that is redirected to your browser.
End.
Loading…
Cancel
Save