FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Help on strings.prg translations
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Help on strings.prg translations
Posted: Thu May 15, 2014 09:50 AM

Could someone help to complete these translations ? thanks :-)

In this order: English, Spanish, French, Portuguese, German, Italian

{ "Modify DBF struct", "Modificar estructura DBF", "Changement structure DBF", "HELP_HERE", "HELP_HERE", "HELP_HERE" }

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Help on strings.prg translations
Posted: Thu May 15, 2014 11:00 AM

Antonio,

{ "Modify DBF struct", "Modificar estructura DBF", "Changement structure DBF", "HELP_HERE", "HELP_HERE", "Modifica struttura DBF" }

EMG

Posts: 581
Joined: Tue Oct 11, 2005 11:28 AM
Re: Help on strings.prg translations
Posted: Thu May 15, 2014 11:21 AM

Antonio,

{ "Modify DBF struct", "Modificar estructura DBF", "Changement structure DBF", "Alterar estrutura do DBF", "HELP_HERE", "Modifica struttura DBF" }

Kleyber Derick



FWH / xHb / xDevStudio / SQLLIB
Posts: 1195
Joined: Mon Oct 17, 2005 05:41 AM
Re: Help on strings.prg translations
Posted: Thu May 15, 2014 11:44 AM

In Dutch : Aanpassen DBF structuur :D

Regards,

Marc



FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Re: Help on strings.prg translations
Posted: Thu May 15, 2014 12:19 PM

In German: "DBF-Struktur bearbeiten"

Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Help on strings.prg translations
Posted: Thu May 15, 2014 03:14 PM

English, Spanish, French, Portuguese, German, Italian

{ "Modify DBF struct", "Modificar estructura DBF", "Changement structure DBF", "Alterar estrutura do DBF", "DBF-Struktur bearbeiten", "Modifica struttura DBF" }

Thanks! :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: Help on strings.prg translations
Posted: Fri May 16, 2014 04:31 PM

Antonio,Emg

I have problem with lang system because I use xbrowse save state .

As I explain here : viewtopic.php?f=3&t=28065

the final user set the lang to english.

the final user open the customer table

when the final user end the customer table save the state of xbrowse ( the procedure restore the state of xbrowse at begining)

the final user change the language from menu main of the application from english to Italian.

the final user open the customer table and it cannot see the xbrowse's column titles with Italian language but with english language

How I can resolve this big problem ?

I also ask to Mr Nages but i not have any messages also...

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Help on strings.prg translations
Posted: Fri May 16, 2014 05:06 PM

Silvio,

When the user saves the xbrowse state, the current language settings is used.

If the language is changed later on, obviously we can not take the freedom to translate his other language texts.

It seems to me as somehow the user should be warned that the previous saved info was in a different language than the current one.

I appreciate other users comments, thanks :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: Help on strings.prg translations
Posted: Thu May 22, 2014 07:49 AM
Now I resolved erase the cstate from ini with when someone change the lang

WritePProString("Browse","CuState","",::cIniUser)

but I lose all informations

but I think we can create a function to rewrite only title headers of xbrowse _cHeaders


while we can have all others informations arrays


_nCreationOrders
_nWidths
_lHides
_cGrpHdrs



and the recreate the string of cstate from ini file


a little idea ....
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Re: Help on strings.prg translations
Posted: Fri May 23, 2014 09:26 PM

Antonio,

To be consistent with the other translations, the English one should probably be changed from:

"Modify DBF struct"

To:

"Modify DBF structure"

Yes, it is a tiny change, but it is consistent.

James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Help on strings.prg translations
Posted: Sat May 24, 2014 12:35 PM

James,

Implemented for next build. thanks :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: Help on strings.prg translations
Posted: Sat May 24, 2014 04:10 PM
Antonio,
Perhaps I found a solution

see METHOD SaveState( aAdditionalData ) of xbrowse

we can create an Ovverride method to this class if the land is changed

We must change only aData[6] string while we can use the old other strings.. this is only an idea ...

lLang_changed .t. or .f.

aheader_changed If lLang_changed is .t. the procedure call an function where create an array with the new header right


Code (fw): Select all Collapse
Override Method RestoreState( cState ) In Class TXBROWSE With  RestoreState(lLang_changed,aheader_changed)
..

Function RestoreState(lLang_changed)
          Local Self := hb_QSelf()


     If lLang_changed
      
            ::cHeaders  := aheader_changed
     
      endif

   ::GetDisplayCols()
   ::Super:Refresh()
  
return nil


HOw it can be implemented ?

 
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com

Continue the discussion