tube42 / 9P

The Nine Puzzle
GNU General Public License v2.0
19 stars 7 forks source link

Adding multilanguage #6

Closed Nico207 closed 5 years ago

Nico207 commented 6 years ago

Hi,

I have added french words in the wordlists repository : https://gitlab.com/tube42/wordlists/merge_requests/1

Can you add them into P9 with the possibility of selecting the language ?

Thanks !

tube42 commented 6 years ago

I am not confident I can add any other languages to P9, but lets start with getting the word list in place and see what we can go from there.

tube42 commented 6 years ago

There is a French branch with initial French support here:

https://github.com/tube42/9P/tree/french

Can you help me test it?

Nico207 commented 6 years ago

I am ready to help but, is it possible to have an apk file to download?

tube42 commented 6 years ago

Sure, try this:

https://github.com/tube42/tube42.github.io/raw/master/9p/android-debug.apk

You may need to uninstall the fdroid version first since these are not signed with the same key.

Nico207 commented 6 years ago

This new version is on the good way. On my side, I should perhaps review the integration of some words (especially the names of cities)

tube42 commented 6 years ago

Ah, should not have closed this one yet.

Can you help me translate some in-game text too? like menus and stuff.

Nico207 commented 6 years ago

Here are the strings I found and their translations:

"about" : "À propos"
"settings" : "Paramètres"
"play" : "Jouer"
"a word puzzle i made since i love word puzzles..." : "Un puzzle de mots que j'ai fait car j'adore les puzzles de mots...."
"the objective is to find the 9-letter word and unlock more levels." : "L'objectif est de trouver le mot de 9 lettres et de débloquer plus de niveaux."
"once you have unlocked them all, well congrats, you now know many unusual words..." : "Une fois que vous les avez tous déverrouillés, eh bien félicitations, vous connaissez maintenant beaucoup de mots inhabituels..."
"level" : "Niveau"
"sound on" : "Son allumé"
"sound off" : "Son éteint"
"fun off" : "Amusant"
"boring on" : "Ennuyeux"
"delete progress" : "Supprimer la progression"
"confirm" : "Confirmer"
"deleted" : "Progression supprimée"

A quick question : What is the purpose of the "funoff" parameter?

tube42 commented 6 years ago

"Fun off" was just a test menu button I put in there when settings was empty.

Thanks for the translation. I will try to get them into the game as soon as I have some free time

tube42 commented 5 years ago

This is current result:

img001 img002 img003 img004 img005

I am not very familiar with the French alphabet. Are "é è á à ç" all French letters I will need?

Nico207 commented 5 years ago

Everything seems almost perfect. Can you change just two little things : on the third screenshot, the end of the first sentence must terminate with three point; and bettwen "niveau" and "Une" there must be one point followed by one space ("niveau. Une").

About French letters, there are many other letters used:

Uppercase : É È Ç À Æ Â Ê Ÿ Û Î Œ Ô Ä Ë Ü Ï Ö Ù
Lowercase : é è ç à æ â ê ÿ û î œ ô ä ë ü ï ö ù
tube42 commented 5 years ago

Updated about screen: img007

I think I am happy with this and will upload the new version to f-droid as soon as you are satisfied with the wordlist.

tube42 commented 5 years ago

On device "Supprimer la progression" is too large to fit its button. Are there any shorter translations?

Nico207 commented 5 years ago

You can try this one : "Effacer la progression" or "Effacer progression"

Is that small enough?

tube42 commented 5 years ago

Still a bit too big but lets go with that for now.

The new version will show up in fdroid in a week or so, you might need to uninstall the beta version to install that.

Closing this now, thanks for your help!