byteflood icon indicating copy to clipboard operation
byteflood copied to clipboard

Localisations?

Open Methaneus opened this issue 10 years ago • 6 comments

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.

Methaneus avatar Aug 10 '14 11:08 Methaneus

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.

hexafluoride avatar Aug 10 '14 14:08 hexafluoride

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?

hexafluoride avatar Aug 10 '14 22:08 hexafluoride

Alright, I'm going with the second method because I still have to port ByteFlood to other platforms.

hexafluoride avatar Aug 11 '14 07:08 hexafluoride

Nice. Great to hear. Sorry for responding so late, but I haven't been at home in a while.

Methaneus avatar Aug 19 '14 15:08 Methaneus

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.

hexafluoride avatar Aug 19 '14 17:08 hexafluoride

Soon. https://github.com/diantahoc/byteflood/commit/1856573fc8ac56f89384df7ab5f2d2e968ade451

byteflood en francais

diantahoc avatar Nov 14 '14 21:11 diantahoc