Giter VIP home page Giter VIP logo

Comments (11)

dbuechel avatar dbuechel commented on June 16, 2024

Thanks for your interest in SEB, it would be very welcome if you could contribute the Chinese translation! Unfortunately, the localization mechanism is currently still a scaffolding which defaults to English in all cases. As it is implemented at the moment, all text visible to the user is contained in an XML file: https://github.com/SafeExamBrowser/seb-win-refactoring/blob/master/SafeExamBrowser.I18n/Text.xml.

As the localization mechanism may be subject to change in the ongoing development (the same applies to the text content itself), I'd suggest to notify you once the mechanism is final and ready to be translated into other languages. This can however take until the end of Q2 2020 or later, I'm afraid.

from seb-win-refactoring.

fishfree avatar fishfree commented on June 16, 2024

@dbuechel Thank you! Or, can I translate it for v2.3 for Windows on my own computer first?

from seb-win-refactoring.

dbuechel avatar dbuechel commented on June 16, 2024

That is certainly possible, but I would advise against it. SEB 2.x will be discontinued this year, so you'd be doing the same work twice, first for 2.x and then 3.x. SEB 2.x and 3.x are not exactly the same, so there is text which is unique to both versions respectively...

from seb-win-refactoring.

fishfree avatar fishfree commented on June 16, 2024

@dbuechel Thank you for your advice. But it's emergent for me to do the translation for v2.x first. :-) So, would you please tell me the detailed method first?

from seb-win-refactoring.

dbuechel avatar dbuechel commented on June 16, 2024

As you wish. In SEB 2.x, the localization is done via resource files, see https://docs.microsoft.com/en-us/dotnet/framework/resources/.

from seb-win-refactoring.

fishfree avatar fishfree commented on June 16, 2024

@dbuechel Thank you. But I'm not familiar with .NET resource file. Is it possible to add a new localization like poedit into a installed SEB 2.x?

from seb-win-refactoring.

dbuechel avatar dbuechel commented on June 16, 2024

Unfortunately not. You need to install Visual Studio, edit the source code and compile your changes.

from seb-win-refactoring.

fishfree avatar fishfree commented on June 16, 2024

Thank you for telling me. I'm afraid I have to drop. VS is not free.

from seb-win-refactoring.

dbuechel avatar dbuechel commented on June 16, 2024

Actually, it is: https://visualstudio.microsoft.com/free-developer-offers/

from seb-win-refactoring.

dbuechel avatar dbuechel commented on June 16, 2024

The localization mechanism is now implemented. If you are still interested in providing a Chinese translation, feel free to do so by translating the English text found here:

https://github.com/SafeExamBrowser/seb-win-refactoring/tree/master/SafeExamBrowser.I18n/Data

from seb-win-refactoring.

dbuechel avatar dbuechel commented on June 16, 2024

I'll close this issue for now, feel free to re-open it or create a new one if you have any further questions.

from seb-win-refactoring.

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.