6 ms·
python --lang=german main.py shivers
by mattigames 7y ago
python --lang=german main.py
shivers
- skykooler 7y agoThink it would be --lang=deutsch. Gotta internationalize the command-line flags too!
- CodeCube 7y agoI think you mean, --sprache=deutsch
- Cyph0n 7y agoImagine the CLI...
- alien_ 7y agoIt's already there, I've often seen console output with translated error messages. Helpful for the users but not of much use to developers, unless using error codes as well
- tempodox 7y agoAbsolutely. If we do localization of UI texts, the command line options should be included :)
- theK 7y agoHow about having them just as flags then? python --deutsch mein-kampf.py python --ελληνικά φορολογία.πυ
- codetrotter 7y agoYou are all being silly. Obviously we would translate the name of the command itself, and the language would be implied riesenschlange main.py
- Y_Y 7y agoFrankfurt-am-Main.py
- MR4D 7y agoBasic would be fun though... 10 drucken 'Hallo, Welt!" 20 gehe zu 10
- acje 7y ago10 drucken 'Hallo, Welt!" 20 gehe zu 10 aber schnell -o3
- rusk 7y agoHaut.py
- chme 7y agoMore like 'Haupt.py'. ('Haut' is 'skin') But in German that alone would translate back to 'head.py', so you might want to give some more context to it like 'Hauptdatei.py' ('main file.py').
- fisian 7y agoScala has a german version: https://www.scala-lang.org/blog/2017/04/01/announcing-skala.html https://www.scala-lang.org/blog/2017/04/01/announcing-skala.... Release date is 1st of april though