Giter Site home page Giter Site logo

Adding a language about uniengine HOT 5 CLOSED

mdziekon avatar mdziekon commented on June 13, 2024
Adding a language

from uniengine.

Comments (5)

mdziekon avatar mdziekon commented on June 13, 2024 1

Do you happen to know if masked umlauts work?

Polish translation already contains diacritical letters (eg. src/language/pl/fleet.lang file, fl_acs_title entry), so I think there should be no problems with german umlauts. All files should already be UTF-8 encoded as well.

Sadly I have no real way of testing that without being able to fully add the language.

Recently, another person has started french translation and faced a similar problem. Take a look at Pull Request #104. The approach there was to prepare all required translation files, but all of them default to a simple import of corresponding english translation files. The translation itself is also not yet available in the game (we'll add necessary entries once the entire translation is done). Then, the translation process can be easily split into several PRs. I would suggest the same approach for your work.

Also I'd love to have some sort of guide or at least a philosophy guideline (What is the goal of the project? What non-goals does it have?).

That's seems like a really vague question to be honest, I'm not sure how to answer that besides the pretty obvious "this is an ogame-like game engine". Maybe a separate "question issue" would be better to answer that more in-depth (let's tackle one thing at a time).

I have also found some bugs, I will try to reproduce them, open an issue and maybe try to find a solution as well, soon.

Cool, I should probably prepare some sort of issue report template for cases like that. For now, you can take a look at my recently opened issue reports, see how I structured them to convey as much information in an organised manner.

from uniengine.

mdziekon avatar mdziekon commented on June 13, 2024

Hi, thanks for reaching out! Great to hear that yet another person would like to contribute to the project.

I'll try to answer your question in depth a bit later today (maybe I should consider writing some sort of guide, could be helpful for other people). However, I can tell you that most of the translation work will definitely happen in the .lang files. There might be some quirks along the way (since the translation system is far from perfect, unfortunately), but if you'll spot some limitations I can always try to extend the system to fit new cases.

from uniengine.

bblaha avatar bblaha commented on June 13, 2024

Hi, thank you for your swift reply.
I will do the langs file then and send a pull request.
Do you happen to know if masked umlauts work? For example ΓΌ or Γ€. Or is there another way those should be masked? Sadly I have no real way of testing that without being able to fully add the language.

Also I'd love to have some sort of guide or at least a philosophy guideline (What is the goal of the project? What non-goals does it have?).
I have also found some bugs, I will try to reproduce them, open an issue and maybe try to find a solution as well, soon.

from uniengine.

bblaha avatar bblaha commented on June 13, 2024

Thank you, I've been trying to follow the example of @MickaelRod anyway, but as he had not added the language itself yet, I thought I'd ask. Will observe their progress and try to stick to their example.
Thank you!

from uniengine.

mdziekon avatar mdziekon commented on June 13, 2024

I think the mentioned PR (#104) already contains a bit of the translation work (some really small files, eg. this one https://github.com/mdziekon/UniEngine/pull/104/files#diff-be7199062e8beac60c711f55d2b720ea), so you can already try this approach out. Further work is being continued in #105, which I'll consider merging soon to prevent it from getting too big in one piece (I'll have to speak with the author first to let them know about my plans).

from uniengine.

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.