GyulyVGC / sniffnet

Comfortably monitor your Internet traffic ๐Ÿ•ต๏ธโ€โ™‚๏ธ
https://sniffnet.net
Apache License 2.0
17.94k stars 548 forks source link

๐ŸŒ Help me translating Sniffnet in your native language ๐ŸŒ #60

Open GyulyVGC opened 1 year ago

GyulyVGC commented 1 year ago

In v1.1 I introduced the possibility to select a language for the GUI. If you are a native speaker of a language for which a translation isn't there yet (or a language that's not fully up to date), it'd be awesome if you could help me translating the application.

The translation is mostly appreciated if you think that the language is potentially spoken by a good amount of people using Sniffnet


โžก๏ธ All you have to do is to add the translations to these files:

Thanks in advance to everyone โค๏ธ


Language | Code | Flag | Updated to v1.1? | Updated to v1.2? | Updated to v1.3? -|-|-|-|-|- English | EN | ๐Ÿ‡ฌ๐Ÿ‡ง | โœ… | โœ… | โœ… German | DE | ๐Ÿ‡ฉ๐Ÿ‡ช | โœ… (#87) | โœ… (#191) | โœ… (#495) Greek | EL | ๐Ÿ‡ฌ๐Ÿ‡ท | โœ… (#160) | โŒ | โŒ Spanish | ES | ๐Ÿ‡ช๐Ÿ‡ฆ | โœ… (#70) | โœ… (#203) | โŒ Persian* | FA | ๐Ÿ‡ฎ๐Ÿ‡ท | โœ… (#158) | โœ… (#193) | โœ… (#532) Finnish | FI | ๐Ÿ‡ซ๐Ÿ‡ฎ | โœ… (#310) | โœ… (#310) | โŒ French | FR | ๐Ÿ‡ซ๐Ÿ‡ท | โœ… (#64 - #67) | โœ… (#279) | โœ… (#494) Italian | IT | ๐Ÿ‡ฎ๐Ÿ‡น | โœ… | โœ… | โœ… Japanese | JA | ๐Ÿ‡ฏ๐Ÿ‡ต | โœ… (#343) | โœ… (#343) | โœ… (#504) Korean | KO | ๐Ÿ‡ฐ๐Ÿ‡ท | โœ… (#128) | โœ… (#205) | โœ… (#604) Polish | PL | ๐Ÿ‡ต๐Ÿ‡ฑ | โœ… (#78) | โœ… (#244) | โœ… (#498) Portuguese | PT | ๐Ÿ‡ต๐Ÿ‡น | โœ… (#134) | โœ… (#398) | โŒ Romanian | RO | ๐Ÿ‡ท๐Ÿ‡ด | โœ… (#113) | โœ… (#241) | โœ… (#499) Russian | RU | ๐Ÿ‡ท๐Ÿ‡บ | โœ… (#151) | โœ… (#187) | โœ… (#496) Swedish | SV | ๐Ÿ‡ธ๐Ÿ‡ช | โœ… (#213) | โœ… (#213) | โœ… (#522) Turkish | TR | ๐Ÿ‡น๐Ÿ‡ท | โœ… (#139) | โœ… (#192) | โœ… (#608) Ukrainian | UK | ๐Ÿ‡บ๐Ÿ‡ฆ | โœ… (#94) | โœ… (#216) | โŒ Uzbek | UZ | ๐Ÿ‡บ๐Ÿ‡ฟ | โœ… (#385) | โœ… (#385) | โœ… (#510) Vietnamese | VI | ๐Ÿ‡ป๐Ÿ‡ณ | โœ… (#577) | โœ… (#577) | โœ… (#577) Chinese | ZH | ๐Ÿ‡จ๐Ÿ‡ณ | โœ… (#89 - #93) | โœ… (#214) | โœ… (#575)

*A Persian translation has been submitted and approved, but is not available in-app since RTL languages aren't supported yet by the GUI library in use.

acolombier commented 1 year ago

I have started adding french as part of the PR #64, however, as mentioned in there:

Worth to mention that although native speaker, it has been a few years I have written my own language in a formal way, so if there is any fellow french speakers that could help review it, that would be massively appreciated!

Charpy commented 1 year ago

I have started adding french as part of the PR #64, however, as mentioned in there:

Worth to mention that although native speaker, it has been a few years I have written my own language in a formal way, so if there is any fellow french speakers that could help review it, that would be massively appreciated!

Hi ! as I'm a french native I did some review on the french translation. I'm not very used to Github features so I hope everything worked well with "branches, pull up, commit, merge"... I kept the reviewed file locally so feel free to contact me if needed.

AmadeusGraves commented 1 year ago

Added Spanish. Cheers!

Charpy commented 1 year ago

I've added polish translation at #78, but yoy already answered that PR ๐Ÿ˜…

Also a question regarding other translations - Since I don't speak these languages - is the space before " : " intended? @AmadeusGraves eg.

https://github.com/GyulyVGC/sniffnet/blob/e918c062f39599950e95fb88bfd66c4f46689108/src/utility/translations.rs#L169

I don't mean to offend anyone, but visually it seems very displeasing, at least it is considered in my native language.

Hello ! In french official typographic code, we need a space before and after the " : " caracter. It is even recommended to use a "non breaking space", with is a special space with stick to his two caracters so they aren't separeted by end of the line. See https://en.m.wikipedia.org/wiki/Non-breaking_space for more infos.

keiveulbugs commented 1 year ago

Started with Dutch

GyulyVGC commented 1 year ago

Started with Dutch

Hey @keiveulbugs, I saw your translation is halfway but you don't have opened a PR yet. Any news?

captain-yossarian commented 1 year ago

@GyulyVGC added Ukrainian translation

vrmiguel commented 1 year ago

@GyulyVGC I'll translate it to Brazilian Portuguese

toastal commented 1 year ago

Don't use flags for languages. Flags represent nations; not the languages inside its borders. For accuracy's and politics's sake, just use the ISO language codes.

GyulyVGC commented 1 year ago

Don't use flags for languages. Flags represent nations; not the languages inside its borders. For accuracy's and politics's sake, just use the ISO language codes.

While I agree with you, I must admit that flags are able to more immediately visually represent a concept. I mean, it wouldn't be so clear to include at the beginning of the README just the language codes, and so on. I think that keeping both the codes and the flags is the best option for my use case. However thanks for having pointed out!

fuzunspm commented 1 year ago

added Turkish translation

4r7if3x commented 1 year ago

I've added Persian translations alongside some improvements in the font and language support: #158

4r7if3x commented 1 year ago

@GyulyVGC The correct Dutch language code is NL. Please modify it in the table above.

P.S. NE is the language code for Nepali

GyulyVGC commented 1 year ago

@GyulyVGC The correct Dutch language code is NL. Please modify it in the table above.

You're right! Thanks for the good catch!

GyulyVGC commented 1 year ago

Hey @acolombier @AmadeusGraves @Charpy @Kiruyuto @luca3s @cxw620 @captain-yossarian @ervinpopescu @DocRAID @fuzunspm @amarao @franciscoBSalgueiro @abousis @4r7if3x

I'm tagging you all because I've just published a new Sniffnet release which needs a little update to the translations. It's about 25 new very short phrases, most of which are composed by just few words.

โžก๏ธ All you have to do is to add the translations to this file:

Thank you all very much in advance for the help โค๏ธ

amarao commented 1 year ago

I want to point to a small problem with language ordering in each match. Re-scanning by eye whole list every time for 'own' language. Having them sorted in any (but persistent) order will help a lot.

amarao commented 1 year ago

What is '"Administrative entity' in the packet filtering? I honestly have no idea. It accepts only 2 and 0, and filter out only connection to DE (????)

Oh, I got it. It's autonomous system (AS), and I would never guess it by English name.

GyulyVGC commented 1 year ago

What is '"Administrative entity' in the packet filtering? I honestly have no idea. It accepts only 2 and 0, and filter out only connection to DE (????)

It's a more friendly way to refer to https://en.wikipedia.org/wiki/Autonomous_system_(Internet)

amarao commented 1 year ago

I know very well what 'AS' is, but this name is completely off compare to all software I used. Also, it does not doing filtration. I've tried to filter out out AS (7979) while having connections with servers.com, and I can't see any packets. Is it working?

GyulyVGC commented 1 year ago

You have to filter by AS name, not by AS number. How would you suggest to call it? I feel like "Autonomous System" is not familiar at all to not networking experts.

amarao commented 1 year ago

It's either sounds nothing (and it's hard to explain to layman), or a person knows well what it is. I suggest 'AS name' or "Autonomous System Name" as well-established name for this field.

For now I'll keep Russian translation of "ะธะผั ะฐะฒั‚ะพะฝะพะผะฝะพะน ัะธัั‚ะตะผั‹" (name of autonomous system) there, if you don't mind.

amarao commented 1 year ago

Also I can't find use of color_gradients_translation in the code (and in the interface).

GyulyVGC commented 1 year ago

Also I can't find use of color_gradients_translation in the code (and in the interface).

It will be used once the GUI library I'm using will support color gradients. I've already put it to not have to ask again for that translation in the near future.

vcrn commented 1 year ago

I've added a Swedish translation and some small corrections to other texts. Some letters can't be displayed though (which I go into detail in the PR) and there's also the question of placement of the language in the page where you select your language.

Thank you for a great tool!

GyulyVGC commented 1 year ago

I've added a Swedish translation and some small corrections to other texts. Some letters can't be displayed though (which I go into detail in the PR) and there's also the question of placement of the language in the page where you select your language.

Thank you for a great tool!

I must also be thanking you for the translation! As answered in the PR, I'll take care of fixing those problems

Br1ght0ne commented 1 year ago

Updated the Ukrainian translation :)

GyulyVGC commented 1 year ago

I've merged all the submitted PRs with your language updates. Thank you very much to all of you guys โค๏ธ

We are now at 14 out of 16 completely updated languages.

Just for your information, these are the missing languages:

I've also updated the original message of this issue with a nice-to-have of the Japanese ๐Ÿ‡ฏ๐Ÿ‡ต language (I feel like it's the most popular language between the app users that is still missing).

hirotake111 commented 1 year ago

@GyulyVGC I'm making a change to add the Japanese language to Sniffnet. However, most of the characters are not displayed for reasons. (I can't see Hiragana, Kanakata, and some Kanji characters. It looks like some are displayed as Sniffnet has already had a Chinese language feature?)

Do you have any idea? Or do I need to add some font files to it?

GyulyVGC commented 1 year ago

Hi @hirotake111

That's because I use a reduced font to not waste binary size. From the full font files, I will select only the actually user characters, which will be included in the reduced font files.

You can submit the PR and I'll take care of the rest.

GyulyVGC commented 5 months ago

Hey all!

Sniffnet v1.3 has just been published, so it'd be amazing if you could help updating your translation.


โžก๏ธ All you have to do is to add the translations to this file:

Thank you all very much in advance for the help โค๏ธ

Charpy commented 5 months ago

Starting French translation update ! ;)

update : done

Dinozavvvr commented 5 months ago

Hi there! I could help you with Russian if you don't mind) Like this comment and I will start it)

update: done https://github.com/GyulyVGC/sniffnet/pull/496

hirotake111 commented 5 months ago

Hi @GyulyVGC, I have just submitted a PR (Japanese translation). Feel free to contact me if you need ๐Ÿ˜‰

abcxiaobu commented 2 months ago

ๆ”ฏๆŒไธญๆ–‡ ๅฅฝ่ฏ„!

chayankQ commented 2 weeks ago

Add v1 in Bahasa Indonesia #611