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 » Russian tr file for 2008.1beta
Re: Russian tr file for 2008.1beta [message #14446 is a reply to message #14423] Tue, 26 February 2008 20:53 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Wait a moment.

There are .t files and .tr files.

.tr files are "runtime exports/imports" (only recently we have added an Ide function to export .tr). Each U++ application (I mean, each U++ executable) can export and import .tr.

Anyway, compile-time translated, strings are stored in .t files in packages.

Mirek
Re: Russian tr file for 2008.1beta [message #14471 is a reply to message #14446] Wed, 27 February 2008 05:57 Go to previous messageGo to next message
sergeynikitin is currently offline  sergeynikitin
Messages: 748
Registered: January 2008
Location: Moscow, Russia
Contributor

Are there methods to dynamically Load Language file as in other Linux packages?

SergeyNikitin<U++>( linux, wine )
{
    under( Ubuntu || Debian || Raspbian );
}
Re: Russian tr file for 2008.1beta [message #14475 is a reply to message #14471] Wed, 27 February 2008 09:34 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Sure. Just put .tr where executable is. That is all.

At startup, U++ checks whether there are any dynamic translations (.tr) and loads them automatically.

Mirek
Re: Russian tr file for 2008.1beta [message #14493 is a reply to message #14475] Wed, 27 February 2008 13:22 Go to previous messageGo to next message
sergeynikitin is currently offline  sergeynikitin
Messages: 748
Registered: January 2008
Location: Moscow, Russia
Contributor

2 questions.
1. Format of that .tr file same as system tr file?
2. How can I switch current language in application?

PS.
In what forum thread, I can see discussions on the system of help and documentation of IDE?


SergeyNikitin<U++>( linux, wine )
{
    under( Ubuntu || Debian || Raspbian );
}

[Updated on: Wed, 27 February 2008 13:26]

Report message to a moderator

Re: Russian tr file for 2008.1beta [message #14494 is a reply to message #14493] Wed, 27 February 2008 13:29 Go to previous messageGo to next message
Mindtraveller is currently offline  Mindtraveller
Messages: 917
Registered: August 2007
Location: Russia, Moscow rgn.
Experienced Contributor

sergeynikitin

2. How can I switch current language in application?

SetLanguage(LNG_('R', 'U', 'R', 'U'));

I think this is very good initiative to start making standalone help discussion. This is very important part of U++, and we should pay much attention to this problem. So I vote for Sergey's initiative - to start - make new subforum. Maybe even organize workgroup working on help/manual.

[Updated on: Wed, 27 February 2008 13:31]

Report message to a moderator

Re: Russian tr file for 2008.1beta [message #14495 is a reply to message #14493] Wed, 27 February 2008 14:25 Go to previous messageGo to next message
masu is currently offline  masu
Messages: 378
Registered: February 2006
Senior Member
sergeynikitin wrote on Wed, 27 February 2008 13:22

2. How can I switch current language in application?


you can also use
LNGFromText("ruru")


Matthias
Re: Russian tr file for 2008.1beta [message #14498 is a reply to message #14494] Wed, 27 February 2008 15:01 Go to previous message
sergeynikitin is currently offline  sergeynikitin
Messages: 748
Registered: January 2008
Location: Moscow, Russia
Contributor

What about format of .tr file? Is it same as in IDE?

SergeyNikitin<U++>( linux, wine )
{
    under( Ubuntu || Debian || Raspbian );
}
Previous Topic: Clipping errors in RichEdit with german language
Next Topic: Romanian tr for 2008.1beta
Goto Forum:
  


Current Time: Thu Mar 28 11:16:11 CET 2024

Total time taken to generate the page: 0.01061 seconds