Giter VIP home page Giter VIP logo

Comments (27)

mifi avatar mifi commented on May 16, 2024 7

I have now implemented support for i18n. The following is remaining:

  • i18n menus and electron.js code
  • proper interpolation, keys and pluralization, use Trans component
  • Some text in Settings and App not yet i18n
  • integrate with weblate (i have sent a request for open source hosted weblate, waiting for answer)

from lossless-cut.

Riajyuu avatar Riajyuu commented on May 16, 2024 4

@mifi I think the point is that you should implement at your side first, aka split out all strings into a single file so that someone else can translate it.

from lossless-cut.

mifi avatar mifi commented on May 16, 2024 2

POEditor

from lossless-cut.

mifi avatar mifi commented on May 16, 2024 2

I have now created a Weblate hosted project for LosslessCut. I think how it works is that anyone can translate the text.

I have created the common requested languages

Chinese (Simplified)
French
Norwegian
Polish
Portuguese
Russian

English is the base language. Note that the english string is the base key (gettext style), so whenever I change any original text, it will flag everything for re-translation for that key.

There are a LOT of strings to translate, and I'm not going to do it, but if anyone wants to add translations, then you can go here to translate :)
https://hosted.weblate.org/projects/losslesscut/losslesscut/

All translations will be collected in this pull request and when there is any substantial translation there I can merge it and add support for the translated languages! 🎉

from lossless-cut.

mifi avatar mifi commented on May 16, 2024 1

Hi. There is currently no language support. Feel free to contribute.

from lossless-cut.

mifi avatar mifi commented on May 16, 2024 1

Transifex

from lossless-cut.

mifi avatar mifi commented on May 16, 2024 1

Crowdin

from lossless-cut.

wikijm avatar wikijm commented on May 16, 2024

@mifi If needed, I'm available to make a French translation.

from lossless-cut.

jose1711 avatar jose1711 commented on May 16, 2024

just curious.. if there's no language support what are .pak files inside locales directory good for?

from lossless-cut.

TechManiacHD avatar TechManiacHD commented on May 16, 2024

If you guys want I can contribute Polish translation.

from lossless-cut.

bvillar avatar bvillar commented on May 16, 2024

I can contribute with Portuguese (Brazil) translation.

from lossless-cut.

fletin avatar fletin commented on May 16, 2024

I can contribute with Chinese Translation.

from lossless-cut.

causztic avatar causztic commented on May 16, 2024

Hi @mifi! i'm interested in adding language support for this project, do you see the need for an extensive library like polygot or would a simple key-value lookup suffice?

from lossless-cut.

CHN-STUDENT avatar CHN-STUDENT commented on May 16, 2024

hope add muti-language support, perhaps i can contribute for it. Thanks!

from lossless-cut.

irmatade avatar irmatade commented on May 16, 2024

I can contribute with the Italian translation.

from lossless-cut.

mifi avatar mifi commented on May 16, 2024

I'm thinking about using this:

https://github.com/i18next/react-i18next

And as a translation service I found these that provide a free version for open source projects:

I have only used poeditor before and it seemed ok.

See also:

from lossless-cut.

trebmuh avatar trebmuh commented on May 16, 2024

Hi all, as lossless-cut is a free software, I'd recommend to use another free software for translation. https://hosted.weblate.org/ come to mind. I use it for several other projects, and it works great.

If there, I would be happy to help with the French translation.

from lossless-cut.

mifi avatar mifi commented on May 16, 2024

In case weblate does not answer in a timely manner, does anyone have any preferences or recommendations for transifex , crowdin or poeditor? Put a 👍 on the one you prefer

from lossless-cut.

mifi avatar mifi commented on May 16, 2024

weblate didnt reply yet but poeditor replied in 3 minutes so i think i'll try to go with poeditor

from lossless-cut.

trebmuh avatar trebmuh commented on May 16, 2024

Nice !
I've done 3 strings translations to check if everything is correctly set up.
I'll wait for these to appear on #333 and then, will keep on translating.

from lossless-cut.

mifi avatar mifi commented on May 16, 2024

Wow Chinese is already done! I will add support for it now

from lossless-cut.

mifi avatar mifi commented on May 16, 2024

Chinese can now be enabled from the settings! Will be available in the next version (3.22.0) when it completes building

from lossless-cut.

mifi avatar mifi commented on May 16, 2024

We can continue here: #346

from lossless-cut.

CHN-STUDENT avatar CHN-STUDENT commented on May 16, 2024

@mifi hi mifi i downloaded the lastest version and i set Chinese as its language. And i find the menu bar is not translated and some translate is not correct. Could you tell me how to improve it? Thanks!

By the way i think we can write a Chinese using guide to explain how to use it, I think it will more be useful for Chinese user.

from lossless-cut.

mifi avatar mifi commented on May 16, 2024

You're right. The menu is not yet translated because it is a separate code, and a TODO. See #346

If you want to improve translations I think you can do it here: https://hosted.weblate.org/projects/losslesscut/losslesscut/

Also if you want to write a chinese guide or make a video, I'm happy to add it to the readme!

from lossless-cut.

CHN-STUDENT avatar CHN-STUDENT commented on May 16, 2024

@mifi hi mifi, a good news is i think i know how to use this software, and now i am trying write Chinese guide book and improve Chinese translate, but i do not know some English means like

File exists, bailing, what bailling means?

Mouse scroll/wheel left/right ,what mouse scroll right or left?

These options will let you convert files to a format that is supported by the player. You can try different options and see which works with your file. Note that the conversion is for preview only. When you run an export, the output will still be lossless with full quality ,i guess some video format can convert but not can play in lossless by ffmpeg,so user need to convert it to play format?

from lossless-cut.

mifi avatar mifi commented on May 16, 2024

Cool! File exists, bailing means that you tried to save a file but it already exists, so LosslessCut refuses to overwrite the existing file.

Mouse scroll/wheel left/right I think some mouses have horizontal scrolling, no? Like Apple magic mouse, as well as TrackPads usually have vertical and horizontal scroll.

These options will let you convert files to a format that is supported by the player. You can try different options and see which works with your file. Note that the conversion is for preview only. When you run an export, the output will still be lossless with full quality ,i guess some video format can convert but not can play in lossless by ffmpeg,so user need to convert it to play format?

Yes this is only to play back for preview. It will not affect the lossless final export.

from lossless-cut.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.