Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

String formatting and internationalization #4630

Closed
sanxiyn opened this issue Jan 25, 2013 · 6 comments
Closed

String formatting and internationalization #4630

sanxiyn opened this issue Jan 25, 2013 · 6 comments
Labels
A-syntaxext Area: Syntax extensions

Comments

@sanxiyn
Copy link
Member

sanxiyn commented Jan 25, 2013

Currently format string of fmt! must be a string literal, but this can't be the case for internationalized applications "available in more than 70 languages" such as Mozilla Firefox.

@msullivan
Copy link
Contributor

It looks like there has been some discussion on reworking fmt in ways that would facilitate this: https://mail.mozilla.org/pipermail/rust-dev/2013-May/003999.html

@msullivan
Copy link
Contributor

@alexcrichton
Copy link
Member

This is well under way with the ifmt! extension, but there are some large components missing so this isn't quite ready to be closed yet. The good news is that all the ground work is laid out with ifmt! and nothing should need a major redesign to take care of this. Figure I'd keep it updated.

@pzol
Copy link
Contributor

pzol commented Mar 3, 2014

Visiting for triage. This should go hand in hand with other internationalization efforts, including unicode handling. Is there more information available about ifmt! ?

@huonw
Copy link
Member

huonw commented Mar 3, 2014

ifmt became the current format println, etc: http://static.rust-lang.org/doc/master/std/fmt/index.html

@aturon
Copy link
Member

aturon commented Jun 10, 2014

Our internationalization/localization work is now under issues #14494 and #14495, which are not on the 1.0 milestone.

@aturon aturon closed this as completed Jun 10, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-syntaxext Area: Syntax extensions
Projects
None yet
Development

No branches or pull requests

6 participants