Coder Social home page Coder Social logo

wish chinese file path support about lorien HOT 4 CLOSED

mbrlabs avatar mbrlabs commented on May 22, 2024
wish chinese file path support

from lorien.

Comments (4)

LGiki avatar LGiki commented on May 22, 2024 1

I did some tests, when the language is set to a language other than Simplified Chinese, the file paths containing Chinese characters cannot be displayed properly, for example: the 新建文件夹 in D:\temp\新建文件夹\ will be displayed as blank. But when the language is set to Simplified Chinese, it can be displayed properly. As shown in the following screenshot.

I also tested that even if the language is set to a language other than Simplified Chinese (paths containing Chinese characters cannot be displayed properly), Lorien can still open, save and export files to paths containing Chinese characters normally.

So if you want to use Lorien in a path containing Chinese characters, you can set the language to Simplified Chinese and everything will work fine.

from lorien.

mbrlabs avatar mbrlabs commented on May 22, 2024

Do you mean you can't see files with chinese characters in the file dialog? If so it's probably because the font i'm using does not support Chinese. But it's pretty easy in Godot to change the font based on the locale, so i can add a chinese (maybe also a japanese) font the next release.

from lorien.

mbrlabs avatar mbrlabs commented on May 22, 2024

@LGiki added a chinese font (and translation). Maybe this fixed it already. If not then maybe it's a good idea to add an additional mapping from the default fonts to the chinese ones when the application language is Chinese.

Same for Korean (i already added a font for that), but that's annother issue.

from lorien.

mbrlabs avatar mbrlabs commented on May 22, 2024

Great, thanks for testing! I think that's as good as it gets without completly changing all fonts, so i'm closing this as solved.

from lorien.

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.