flyXC icon indicating copy to clipboard operation
flyXC copied to clipboard

Translate flyxc

Open vicb opened this issue 1 year ago • 3 comments

Support multiple langages - translations would be contributed by users.

Based on @lit/localize

vicb avatar Apr 12 '24 04:04 vicb

hey @vicb i could do german translations. maybe you want to introduce me how it is done. i am mainly a symfony developer and the co creator and developer of we-measure.io, also contributor to enhavo.

indivisualvj avatar May 13 '24 06:05 indivisualvj

That would be super nice @indivisualvj

There are multiple steps to translating flyxc.

  1. Integrate @lit/localize - flyxc uses lit framework. It shouldn't be too hard and I can give some help if needed
  2. Wrap the translatable strings in `msg()' function
  3. Extract the translations
  4. Generate the XLIFF - it contains the translatable strings
  5. Localize the XLIFF
  6. Add a langage selector to flyxc, default to the browser lang if supported with a fallback to en

Let me know what you feel like helping with and where you would need help.

Thanks!

vicb avatar May 13 '24 06:05 vicb

Happy to have a VC to get you started.

I used to be a symfony core contributor, ~10y ago

vicb avatar May 13 '24 06:05 vicb