iced-rs / iced

A cross-platform GUI library for Rust, inspired by Elm
https://iced.rs
MIT License
24.78k stars 1.16k forks source link

Please consider full i18n #103

Open mhf-ir opened 4 years ago

mhf-ir commented 4 years ago

If planing for world class UI library please consider fully i18n. https://mhf-ir.github.io/i18nplease/

btw you're start great job. :heart:

hecrj commented 4 years ago

Thank you!

Support for internationalization is planned (we have parts of it in the roadmap).

A first step towards this goal would be to render text properly in iced_wgpu (see #33). This is quite a big step, as the current font parsing and text rendering ecosystem in Rust is not very mature. However, I think we will slowly get there!

An alternative short-term-wise would be to build a renderer on top of some 3rd party library that handles text shaping and font fallback correctly.

cguentherTUChemnitz commented 1 month ago

Does this really need to be part of the ui-framework like iced? Wouldn't it be already sufficient to wrap the strings before putting into iced with an i18n implementation: https://github.com/longbridgeapp/rust-i18n