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++ Libraries and TheIDE: i18n, Unicode and Internationalization » Language thTH added in .t file generates an error (Used theIDE to add a language in .t file that generates an error.)
Language thTH added in .t file generates an error [message #46887] Tue, 06 September 2016 21:10 Go to next message
jlfranks is currently offline  jlfranks
Messages: 57
Registered: May 2007
Location: Houston, TX, USA
Member
I used theIDE to add a language to the .t file as 'thTH'.
However the compiler generates an error:

error: use of undeclared identifier 'thTH'

'thTH' for Thai (Thailand).

We are running on Linux Mint with U++ upp-x11-src-9604 snapshot.

-- Jeff

[Updated on: Tue, 06 September 2016 21:11]

Report message to a moderator

Re: Language thTH added in .t file generates an error [message #46902 is a reply to message #46887] Thu, 08 September 2016 21:13 Go to previous messageGo to next message
jlfranks is currently offline  jlfranks
Messages: 57
Registered: May 2007
Location: Houston, TX, USA
Member
Core/t.h is missing an entry for thTH

I've added the line in t.h as follows:

#define thTH(text) { LNGC_('T','H','T','H', CHARSET_UTF8), text },

This corrected the compile time error for me.

Can someone verify that this is the correct fix and include it in U++ ?

Thanks,
-- Jeff
Re: Language thTH added in .t file generates an error [message #47692 is a reply to message #46902] Tue, 07 March 2017 12:51 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Thanks, applied. Sorry for the delay.
Previous Topic: Language msMY that I want to add to .t file is missing
Next Topic: Question: What are the use cases for .tr files?
Goto Forum:
  


Current Time: Fri Mar 29 09:33:35 CET 2024

Total time taken to generate the page: 0.01497 seconds