Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ MT-multithreading and servers » Witz internationalization
Re: Witz internationalization [message #39569 is a reply to message #39562] Sat, 30 March 2013 12:22 Go to previous message
Zbych is currently offline  Zbych
Messages: 327
Registered: July 2009
Senior Member
mirek wrote on Sat, 30 March 2013 11:24

- there definitely IS a problem with GetLngString and cache. t_ macro and GetLngString are only defined when being used with string literal. You are using them with String...


As you can see insane people like me are always trying push your code to the limits (and even beyond). Maybe there should be overloaded version of GetLngString that takes String and uses hash instead of address to cache translations? I can make it.

mirek wrote on Sat, 30 March 2013 11:24


- to get HTTP header fields, use Http::GetHeader



dolik.rce wrote on Sat, 30 March 2013 10:16


User language can be detected by parsing the Accept-Language HTTP header.


Thank you both. I will try it.
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Cant connect but dont get an error
Next Topic: Is there a Threadpool in U++?
Goto Forum:
  


Current Time: Sun Jun 02 20:20:36 CEST 2024

Total time taken to generate the page: 0.02471 seconds