BOINC translatable text

Started by fred, November 24, 2010, 08:18:51 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

fred

The latest BOINC versions, beyond 6.10.56 ?? allow for translatable text.

In the btlang file they show up like this:

A text Message from is shown as shown text. The ^ separates the two texts.
Placing two ?? in the unused string will show any untranslated text as:

^to be translated^, the text is marked by ^ at the beginning and end.

<TranslatableBoincText>
   <0>   Message from^   </>
   <1>   Message from server^   </>
   <2>   No work available for the applications you have selected. Please check your project preferences on the web site.^   </>
   <3>   No work available for the applications you have selected.  Please check your project preferences on the web site.^   </>
   <4>   Can't resolve hostname in remote_hosts.cfg^   </>
   <5>   error^   </>
   <6>   Unrecognized tag in cc_config.xml^      </>
   <7>   is not available for^   </>
   <8>   Missing end tag in cc_config.xml^   </>
   <9>   BOINC can't access Internet - check network connection or proxy configuration.^   </>                                          
   <10>   Requested by user^   </>
   <11>   To fetch work   </>
   <12>   To report completed tasks^   </>
   <13>   To send trickle-up message^   </>
   <14>   Requested by account manager^   </>
   <15>   Project initialization^   </>
   <16>   Requested by project^   </>
   <17>   Unknown reason^      </>
   <18>   A new version of BOINC is available.^   </>
   <19>   Download it.^   </>   
</TranslatableBoincText>

The following isn't dependent on a specific BOINC version.
Its the translation of the WWW link text.
Any text is translated from->to, so make sure any short version is down the list.
Like:  First:  "Donate to^Donate to", then "Donate^Donate"


WWW text:

<TranslatableWWWText>
   <0>   Message boards^Message boards      </>
   <1>   Help^Help                     </>
   <2>   Your account^Your account            </>
   <3>   Your preferences^Your preferences      </>
   <4>   Your results^Your results            </>
   <5>   Your computers^Your computers         </>
   <6>   Your team^Your team               </>
   <7>   Your messages^Your messages         </>
   <8>   Common questions^Common questions   </>
   <9>   Screensaver info^Screensaver info      </>
   <10> Report problems^Report problems   </>
   <11> Account summary^Account summary   </>
   <12> Donate to^Donate to            </>
   <13> Donate^Donate               </>
   <14> status^status               </>
   <15> Preferences^Preferences         </>
   <16> A new version of BOINC is available.^A new version of BOINC is available.</>
   <17> Download it.^Download it.         </>
   <18>                        </>
   <19>                        </>
</TranslatableWWWText>