I am planning to use the Python Bottle framework for a simple website except for the digits (for example, the table Figures shown in), all output should be in Japanese So rather than output "345.65 meters", I need to output "345.65"
Anyway, I can create a text file in which the (English) key = (Japanese) value is added ... something like this:
meters = a ?? ¡???? ¼ one ???? One ?? «& Lt; - Google translate seconds = ... height = .... you are welcome ... ... error = .... Then read it in a dictionary and at run time Translate my strings: e.g.,
settranslationfile ("JapaneseWords.txt"); Response.write ("& lt; li" & gt; + 345.65 + translation ("meters") + ""). I do not know Japanese or how Unicode / localization content works, if I have to, then I try to know how Unicode works ... but get it What is the path of least resistance to doing. Which Python Libs do this? A file like "Japanese words dot txt" is likely to be filled most by the Japanese client and I have been sent.
If there are such facilities in other settings, then I would be willing to consider a switch on them - preferably Python based frameworks and then Java.
What you have described already exists and ( edit : See also python modules). It's absolutely fine and I'm not sure that it supports the bottle framework, but I know that (also this dragon) supports it. This is definitely your bottle web application but if you are ready to switch, here is the DJ ango document.
Comments
Post a Comment