byteflood
byteflood copied to clipboard
Localisations?
There's no easy way to localise ByteFlood to other languages yet. Would it be possible to implement that? It'd be only beneficial to both the end-user and the gaining of popularity.
It would be pretty easy to do with WPF since it supports bindings and data contexts, so it's simply a matter of replacing all control text with bindings. I'm currently not home, but I'll start working on localizations when I get home.
-----Original Message----- From: "Methaneus" [email protected] Sent: 8/10/2014 14:32 To: "hexafluoride/byteflood" [email protected] Subject: [byteflood] Localisations? (#5)
There's no easy way to localise ByteFlood to other languages yet. Would it be possible to implement that? It'd be only beneficial to both the end-user and the gaining of popularity. — Reply to this email directly or view it on GitHub.
Alright, I'm home now. So apparently, there's two ways to do localization in WPF, the first is the native way that uses .resx files. It works painlessly but creating localization files requires extra work. The other is loading strings from a file and using bindings to set control text. This is the easiest for the translator but doesn't comply with the WPF method.
Which one should I implement?
Alright, I'm going with the second method because I still have to port ByteFlood to other platforms.
Nice. Great to hear. Sorry for responding so late, but I haven't been at home in a while.
Note that I still haven't started working on the translation framework. I will, once I figure out an easy, clean and portable way to do it.
Soon. https://github.com/diantahoc/byteflood/commit/1856573fc8ac56f89384df7ab5f2d2e968ade451