sniffnet icon indicating copy to clipboard operation
sniffnet copied to clipboard

๐ŸŒ Translate Sniffnet in your native language ๐ŸŒ

Open GyulyVGC opened this issue 2 years ago โ€ข 39 comments

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 the language is potentially spoken by a large 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 Up to v1.1? Up to v1.2? Up to v1.3? Up to v1.4?
English EN ๐Ÿ‡ฌ๐Ÿ‡ง โœ… โœ… โœ… โœ…
German DE ๐Ÿ‡ฉ๐Ÿ‡ช โœ… (#87) โœ… (#191) โœ… (#495) โŒ
Greek EL ๐Ÿ‡ฌ๐Ÿ‡ท โœ… (#160) โŒ โŒ โŒ
Spanish ES ๐Ÿ‡ช๐Ÿ‡ฆ โœ… (#70) โœ… (#203) โœ… (#805) โŒ
Persian (*) FA ๐Ÿ‡ฎ๐Ÿ‡ท โœ… (#158) โœ… (#193) โœ… (#532) โŒ
Finnish FI ๐Ÿ‡ซ๐Ÿ‡ฎ โœ… (#310) โœ… (#310) โŒ โŒ
French FR ๐Ÿ‡ซ๐Ÿ‡ท โœ… (#64 - #67) โœ… (#279) โœ… (#494) โŒ
Indonesian ID ๐Ÿ‡ฎโ€๐Ÿ‡ฉ โœ… (#611) โœ… (#611) โœ… (#611) โŒ
Italian IT ๐Ÿ‡ฎ๐Ÿ‡น โœ… โœ… โœ… โœ…
Japanese JA ๐Ÿ‡ฏ๐Ÿ‡ต โœ… (#343) โœ… (#343) โœ… (#504) โŒ
Korean KO ๐Ÿ‡ฐ๐Ÿ‡ท โœ… (#128) โœ… (#205) โœ… (#604) โŒ
Polish PL ๐Ÿ‡ต๐Ÿ‡ฑ โœ… (#78) โœ… (#244) โœ… (#498) โŒ
Portuguese PT ๐Ÿ‡ต๐Ÿ‡น โœ… (#134) โœ… (#398) โœ… (#690) โŒ
Romanian RO ๐Ÿ‡ท๐Ÿ‡ด โœ… (#113) โœ… (#241) โœ… (#499) โŒ
Russian RU ๐Ÿ‡ท๐Ÿ‡บ โœ… (#151) โœ… (#187) โœ… (#496) โŒ
Swedish SV ๐Ÿ‡ธ๐Ÿ‡ช โœ… (#213) โœ… (#213) โœ… (#522) โŒ
Turkish TR ๐Ÿ‡น๐Ÿ‡ท โœ… (#139) โœ… (#192) โœ… (#608) โŒ
Ukrainian UK ๐Ÿ‡บ๐Ÿ‡ฆ โœ… (#94) โœ… (#216) โœ… (#692) โŒ
Uzbek UZ ๐Ÿ‡บ๐Ÿ‡ฟ โœ… (#385) โœ… (#385) โœ… (#510) โŒ
Vietnamese VI ๐Ÿ‡ป๐Ÿ‡ณ โœ… (#577) โœ… (#577) โœ… (#577) โŒ
Simplified Chinese ZH ๐Ÿ‡จ๐Ÿ‡ณ โœ… (#89 - #93) โœ… (#214) โœ… (#575) โŒ
Traditional Chinese (Taiwan) ZH_TW ๐Ÿ‡นโ€๐Ÿ‡ผ โœ… (#774) โœ… (#774) โœ… (#774) โŒ

(*) 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.

GyulyVGC avatar Feb 07 '23 16:02 GyulyVGC

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!

acolombier avatar Feb 08 '23 10:02 acolombier

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.

Charpy avatar Feb 10 '23 08:02 Charpy

Added Spanish. Cheers!

AmadeusGraves avatar Feb 10 '23 20:02 AmadeusGraves

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.

Charpy avatar Feb 19 '23 07:02 Charpy

Started with Dutch

keiveulbugs avatar Feb 25 '23 18:02 keiveulbugs

Started with Dutch

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

GyulyVGC avatar Mar 02 '23 18:03 GyulyVGC

@GyulyVGC added Ukrainian translation

captain-yossarian avatar Mar 03 '23 09:03 captain-yossarian

@GyulyVGC I'll translate it to Brazilian Portuguese

vrmiguel avatar Apr 13 '23 00:04 vrmiguel

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.

toastal avatar Apr 13 '23 05:04 toastal

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!

GyulyVGC avatar Apr 13 '23 05:04 GyulyVGC

added Turkish translation

fuzunspm avatar Apr 13 '23 07:04 fuzunspm

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

4r7if3x avatar Apr 19 '23 16:04 4r7if3x

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

P.S. NE is the language code for Nepali

4r7if3x avatar Apr 21 '23 10:04 4r7if3x

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

You're right! Thanks for the good catch!

GyulyVGC avatar Apr 21 '23 11:04 GyulyVGC

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 โค๏ธ

GyulyVGC avatar May 18 '23 15:05 GyulyVGC

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 avatar May 18 '23 15:05 amarao

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.

amarao avatar May 18 '23 16:05 amarao

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)

GyulyVGC avatar May 18 '23 16:05 GyulyVGC

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?

amarao avatar May 18 '23 16:05 amarao

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.

GyulyVGC avatar May 18 '23 16:05 GyulyVGC

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 avatar May 18 '23 16:05 amarao

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

amarao avatar May 18 '23 16:05 amarao

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.

GyulyVGC avatar May 18 '23 16:05 GyulyVGC

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!

vcrn avatar May 22 '23 07:05 vcrn

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

GyulyVGC avatar May 22 '23 07:05 GyulyVGC

Updated the Ukrainian translation :)

Br1ght0ne avatar May 22 '23 16:05 Br1ght0ne

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:

  • Greek
  • Portuguese

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).

GyulyVGC avatar Jun 01 '23 22:06 GyulyVGC

@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?

hirotake111 avatar Aug 14 '23 22:08 hirotake111

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 avatar Aug 14 '23 22:08 GyulyVGC

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 โค๏ธ

GyulyVGC avatar Apr 08 '24 12:04 GyulyVGC