Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - zerstrick

#1
Hello ison, the truth is, I do not understand much about programming, but I do understand Spanish and there is the possibility of adding this to the code, it will work for both languages ​​of Spanish (Latin American and Spain)

We need plural form for indefite and definite articles

public class LanguageWorker_Spanish : LanguageWorker
{
public override string WithIndefiniteArticle(string str, Gender gender, bool plural = false, bool name = false)
{
//Names don't get articles
if( name )
return str;

if( plural )
return (gender == Gender.Female ? "unas " : "unos ") + str;

else

return (gender == Gender.Female ? "una " : "un ") + str;
}

public override string WithDefiniteArticle(string str, Gender gender, bool plural = false, bool name = false)
{
//Names don't get articles
if( name )
return str;

if( plural )
return (gender == Gender.Female ? "las " : "los ") + str;

else

return (gender == Gender.Female ? "la " : "el ") + str;
}

public override string OrdinalNumber(int number, Gender gender = Gender.None)
{
return number + ".º";
}

public override string Pluralize(string str, Gender gender, int count = -1)
{
if( str.NullOrEmpty() )
return str;

char last = str[str.Length - 1];
char oneBeforeLast = str.Length >= 2 ? str[str.Length - 2] : '\0';

if( IsVowel(last) )
{
if( str == "sí" )
return "síes";
else if( last == 'í' || last == 'ú' || last == 'Í' || last == 'Ú' )
return str + "es";
else
return str + 's';
}
else
{
if( (last == 'y' || last == 'Y') && IsVowel(oneBeforeLast) )
return str + "es";
else if( "lrndzjsxLRNDZJSX".IndexOf(last) >= 0 || (last == 'h' && oneBeforeLast == 'c') )
return str + "es";
else
return str + 's';
}
}

public bool IsVowel(char ch)
{
return "aeiouáéíóúAEIOUÁÉÍÓÚ".IndexOf(ch) >= 0;
}
}
#2
Translations / Re: Official: Francais
September 01, 2020, 05:15:31 PM
Hi no, the rule pack doesn't work with that, but I'm study the WordInfo/Gender thx so much for take your time and answer me
#3
Translations / Re: Official: Francais
August 29, 2020, 08:52:10 PM
Hello, I need you help, I hope you can help me, I am working on the Spanish Latin translation, but I can't figure out how you did to define the sex of the animals,

"a tortoise"  {ANIMAL_gender ? Un : Una} {ANIMAL_labelShort} --> Un tortuga (wrong) --> Una tortuga (right)
Could you tell me how I define female and male animal for example all tortoises will always be female.
#4
Hola, desde hace un tiempo que vengo trabajando en la versión de español latino para Rimworld, adaptando todo el trabajo que hicieron antiguos compañeros (ver 1.0), a las nuevas versiones del juego (ver 1.1 y 1.2), para ello se ha creado un discord con el objetivo de coordinar a las distintas personas que se quieran unir  bien sea para ayudar a traducir, probar y reportar fallos, o simplemente contribuir aportando sugerencias clic aquí

Puedes descargar la última actualización de nuestra traducción aquí

Como latinoamericanos estamos muy acostumbrado a un dialecto muy distinto al de España por eso la importancia de crear nuestra propia versión para el disfrute de todos los miembros de hispano américa.

----

Hello, for some time I have been working on the Latin Spanish version for Rimworld, adapting all the work that former colleagues did(ver 1.0), to the new versions of the game(ver. 1.1 and 1.2), for this a discord has been created with the aim of coordinating the different people who want to join, so if you want to help translate, test and report bugs, or simply contribute by providing suggestions this is your place.

You can download the latest Latin America spanish translation files here

As Latin Americans we are very used to a dialect very different from that of Spain, which is why it is important to create our own version for the enjoyment of all members of Hispanic America.
#5
Translations / Re: Traducción Rimworld 1.1
March 16, 2020, 04:30:36 AM
Quote from: Azarashi on March 10, 2020, 02:43:17 PM
Estamos avanzando en la traducción ya tenemos el dlc traducido y nos queda el vanilla 1.1 estamos puliendolo y avanzando, si nos quieren ayudar hablarnos y os mandamos el discord

Hola, deberías de publicar el grupo de discord aquí así se nos van uniendo más personas para ir ya retocando la parte final.
saludos