ripme icon indicating copy to clipboard operation
ripme copied to clipboard

Ripme should have translations

Open cyian-1756 opened this issue 8 years ago • 37 comments

Right now ripmes UI and log are English only, some work should be put in to translate them into various other languages (I say we should start with Spanish as that seems to ripme current largest non-English userbase)

cyian-1756 avatar May 09 '18 14:05 cyian-1756

I could do the Finnish part ...

rautamiekka avatar May 09 '18 20:05 rautamiekka

I could translate it to spanish but who is gonna do the base for the locale?

El mié., 9 de may. de 2018 a la(s) 15:19, Jouni Järvinen < [email protected]> escribió:

I could do the Finnish part ...

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/RipMeApp/ripme/issues/569#issuecomment-387862968, or mute the thread https://github.com/notifications/unsubscribe-auth/AF8qcxxy-3p1l68wodTsJNMjXeQtNPS9ks5tw09QgaJpZM4T4cS0 .

Isaaku avatar May 09 '18 21:05 Isaaku

@Isaaku

but who is gonna do the base for the locale?

You mind explaining what you mean?

cyian-1756 avatar May 10 '18 00:05 cyian-1756

I mean the use of the ResourceBundle. I think i could do it in the sunday https://docs.oracle.com/javase/tutorial/i18n/resbundle/propfile.html

http://www.avajava.com/tutorials/lessons/how-do-i-use-locales-and-resource-bundles-to-internationalize-my-application.html

El mié., 9 de may. de 2018 a la(s) 19:16, cyian-1756 < [email protected]> escribió:

@Isaaku https://github.com/Isaaku

but who is gonna do the base for the locale?

You mind explaining what you mean?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/RipMeApp/ripme/issues/569#issuecomment-387912863, or mute the thread https://github.com/notifications/unsubscribe-auth/AF8qc3AntXBrXVzHIXrLSOOC-FyVunnXks5tw4bWgaJpZM4T4cS0 .

Isaaku avatar May 10 '18 14:05 Isaaku

I mean the use of the ResourceBundle

I mean whoever want to can. I'll get started on it today or tomorrow and then make a PR

cyian-1756 avatar May 10 '18 15:05 cyian-1756

I've started work on this here in this branch

Edit: It's all being done in master

cyian-1756 avatar May 10 '18 16:05 cyian-1756

I try to push the changes to a branch but it seens that i can't

2018-05-12 01_19_32-ripme v1 7 44

Commit Message: LabelsBundle in spanish (Mising spellings checks and some labels) LabelsBundle_es_ES.zip

Isaaku avatar May 12 '18 06:05 Isaaku

I try to push the changes to a branch but it seens that i can't

Did you try to push to this branch or a repro that you own?

Anyhow thanks for the translation! It should be in the next version of ripme

cyian-1756 avatar May 12 '18 06:05 cyian-1756

Ive added German translation. One version with umlauts äöü and the other without it. I dont know how your code will react on öäü. If there is a problem, let me know.

LabelsBundle.properties_de_DE.zip

WeWin55 avatar May 12 '18 08:05 WeWin55

Created a PR for French (Switzerland) translation: https://github.com/RipMeApp/ripme/pull/580

As noted in the PR, currently RipMe only supports Latin1/ANSI characters so the format of the added file is ANSI. If UTF8 support is implemented this should be converted.

It goes for @WeWin55 translation too, if the version with umlauts is saved in ANSI they should be displayed correctly.

Lastly, as pointed out in the PR too, translations for different countries with the same language should maybe work as a fallback when the exact couple language/country of the user does not exist. Or maybe allow to force the language with an application setting.

TheRec avatar May 12 '18 11:05 TheRec

@TheRec

As noted in the PR, currently RipMe only supports Latin1/ANSI characters so the format of the added file is ANSI

As of 1fe3f10 ResourceBundles are now read as UTF-8

translations for different countries with the same language should maybe work as a fallback when the exact couple language/country of the user does not exist

That's a good idea

Or maybe allow to force the language with an application setting.

That's also a good idea

cyian-1756 avatar May 12 '18 15:05 cyian-1756

I'll try to do the translation, but Git and GitHub aren't exactly clear-to-use things (I'm not using Git itself, though, only GitHub website) ...

rautamiekka avatar May 12 '18 15:05 rautamiekka

@rautamiekka

(I'm not using Git itself, though, only GitHub website)

If you can't get it working just attach the file to your comment/post the content of the translation

cyian-1756 avatar May 12 '18 15:05 cyian-1756

@cyian-1756 Nice, I've updated my PR with the UTF-8 version and tested it, works fine with special characters now 👍

TheRec avatar May 12 '18 21:05 TheRec

Hi, this is translate from Indonesia (Bahasa Indonesia). I don't know how to use git push, so I upload here.. LabelsBundle_id_ID.properties.zip

biladina avatar May 13 '18 16:05 biladina

Here are 2 Finnish translations:

Standard:

Log = Logi
History = Historia
created = luotu
modified = muokattu
Queue = Jono
Configuration = Asetukset

# Keys for the Configuration menu

current.version = Nykyinen versio
check.for.updates = Tarkista päivitykset
auto.update = Automaattipäivitys?
max.download.threads = Yhtäaikaiset lataukset
timeout.mill = Aikakatkaisu (millisekunneissa):
retry.download.count = Latauksen uudelleenyritykset
overwrite.existing.files = Korvaa nykyiset tiedostot?
sound.when.rip.completes = Valmistumisääni
preserve.order = Pidä järjestys
save.logs = Tallenna logit
notification.when.rip.starts = Valmistumisilmoitus
save.urls.only = Tallenna vain osoitteet
save.album.titles = Tallenna albumiotsikot
autorip.from.clipboard = Ota linkit leikepöydältä
save.descriptions = Tallenna kuvaukset
prefer.mp4.over.gif = Suosi MP4:jää GIF:fin sijasta
restore.window.position = Palauta ikkunan sijainti
remember.url.history = Muista osoitehistoria
loading.history.from = Ladataan historiaa kohteesta

# Misc UI keys

loading.history.from.configuration = Ladataan historiaa asetustiedostosta
interrupted.while.waiting.to.rip.next.album = Keskeytetty odottaessa seuraavaa albumia
inactive = Toimeton
re-rip.checked = Uudelleenlataa merkatut
remove = Poista
clear = Tyhjennä

My porrisavvo dialect:

Log = Loki
History = Historriijja
created = luatu
modified = muakat
Queue = Jono
Configuration = Assetuksse

# Keys for the Configuration menu

current.version = Nykyne versijjo
check.for.updates = Tarkist update
auto.update = Automaatpäivvitys?
max.download.threads = Yht'aikasse ripi
timeout.mill = Timeout (millisekois):
retry.download.count = Ripi retry count
overwrite.existing.files = Korvvaa nykysse filu?
sound.when.rip.completes = Valmistummis'ään
preserve.order = Pir järestys
save.logs = Tallen loki
notification.when.rip.starts = Valmistummisilmotus
save.urls.only = Tallen vaa ossottee
save.album.titles = Tallen album'otsiko
autorip.from.clipboard = Ot linki leikpöyrrält
save.descriptions = Tallen kuvvauksse
prefer.mp4.over.gif = Suasi MP4 GIF sijjaa
restore.window.position = Palaut ikkunna sijaant
remember.url.history = Muist osot'hissa
loading.history.from = Larrataa hissaa lähteest

# Misc UI keys

loading.history.from.configuration = Larrataa hissaa asetusfilust
interrupted.while.waiting.to.rip.next.album = Keskeytet venates seurraavvaa album
inactive = Idle
re-rip.checked = Re-rip merkatu
remove = Poist
clear = Tyhjen

rautamiekka avatar May 13 '18 17:05 rautamiekka

@biladina Thanks for your work!

@rautamiekka Thanks for the multiple translations. Do you know what the short form for "porrisavvo" would be? I've taken a look online and can't find one.

kevin51jiang avatar May 13 '18 20:05 kevin51jiang

^ @kevin51jiang Never heard of any short forms for Finnish dialects and slangs. Or any language, for that matter.

rautamiekka avatar May 13 '18 21:05 rautamiekka

@rautamiekka Like how English's short form is EN, or French is FR, Spanish is ES etc.

Do you know if your dialect has something like that?

kevin51jiang avatar May 13 '18 21:05 kevin51jiang

@kevin51jiang That's what I meant. If there even is such a code for any of the official Finnish dialects or slangs, I'm not aware of one.

rautamiekka avatar May 13 '18 21:05 rautamiekka