msgbyte / tianji

Tianji: Insight into everything, Website Analytics + Uptime Monitor + Server Status. not only another GA alternatives
https://tianji.msgbyte.com/
Apache License 2.0
1.44k stars 83 forks source link

[FEATURE] Adding a New Translation: Polish #43

Open gander opened 6 months ago

gander commented 6 months ago

How do I add a new language to this app? I mean, I know how to add it because I've seen the files and would add another file with my translation. But I don't know where the flags come from and whether you'll handle the flag or if I should provide it with the pull request (from where)?

moonrailgun commented 6 months ago

ok, translation is provided by https://github.com/moonrailgun/i18next-toolkit . and translated by GPT4... a little manual proofreading and flag icon is steal from discord 🤣

moonrailgun commented 6 months ago

and you must be notice this file: https://github.com/msgbyte/tianji/blob/master/src/client/i18next-toolkit.config.cjs

gander commented 6 months ago

flag icon is steal from discord 🤣

You know, you can't do things like steal images from closed software. So, it's not fair since we create open software, and still must follow legal rules.

moonrailgun commented 6 months ago

maybe you are right, so whats your idea?

And the copyright of this kind of thing is actually difficult to discuss, because it is not a special design (such as discord’s mascot). because its not design by discord. discord just define image size.... and i reuse same size.

The copyright of the flag should belong to the state rather than closed software. same with emoji, unless this emoji is very different from others.


and i readed discord's terms, i think they dont talking about others part copyright exclude their trademarks/brand indicia

gander commented 6 months ago
gander commented 6 months ago

So what about this Polish translation? Will you use GPT4 for translation, and I may report PR for incorrect translations?

moonrailgun commented 6 months ago

nice information.

new design will remove flag(maybe permanent, maybe temporary).

and if you are using Polish. i will glad to add it into translation list. because i only know english, other language not much familiar. need people help me build it together

:)

moonrailgun commented 6 months ago

image

BTW: this is new design which language switcher looks like