How to translate some parts of sample01 ( spanish ) ?
How to translate some parts of sample01 ( spanish ) ?
Hello,
I want to modify the < sample01.prg > and translate it to german.
It is a nice calendar but I couldn't detect the text of month- and weekday-names
for translation inside the prg ( it seems to embedded somewhere )
maybe to be changed
REQUEST HB_LANG_ES
REQUEST HB_CODEPAGE_ESWIN
I want to modify the < sample01.prg > and translate it to german.
It is a nice calendar but I couldn't detect the text of month- and weekday-names
for translation inside the prg ( it seems to embedded somewhere )
maybe to be changed
REQUEST HB_LANG_ES
REQUEST HB_CODEPAGE_ESWIN
Last edited by ukoenig on Fri Mar 08, 2019 10:06 am, edited 3 times in total.
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
i work with FW.
If you have any questions about special functions, maybe i can help.
- Silvio.Falconi
- Posts: 4956
- Joined: Thu Oct 18, 2012 7:17 pm
Re: How to translate some parts of sample01 ( spanish ) ?
Perhaps :
REQUEST HB_LANG_DE
and on source
HB_LangSelect("DE")
HB_SetCodePage("DEWIN")
see here https://harbour.github.io/doc/harbour.h ... langselect
on your image I see the calendar on Germany language, Calex on spagnol language and some text on Italian language and some string in english language
Perhaps there is some problems...
REQUEST HB_LANG_DE
and on source
HB_LangSelect("DE")
HB_SetCodePage("DEWIN")
see here https://harbour.github.io/doc/harbour.h ... langselect
on your image I see the calendar on Germany language, Calex on spagnol language and some text on Italian language and some string in english language
Perhaps there is some problems...
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
- Silvio.Falconi
- Posts: 4956
- Joined: Thu Oct 18, 2012 7:17 pm
Re: How to translate some parts of sample01 ( spanish ) ?
Uwe,
How create the image with the effect of paper cutted?
How create the image with the effect of paper cutted?
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
Re: How to translate some parts of sample01 ( spanish ) ?
Silvio,
Yes that works monthnames and daynames are translated.
( your question : the image-border can be selected from inside the screenshot-software )
but there is a problem with one month :
Januar-Februar
März
April-Mai-Juni-Juli
August-September-Oktober
November-Dezember
regards
Uwe
Yes that works monthnames and daynames are translated.
( your question : the image-border can be selected from inside the screenshot-software )
but there is a problem with one month :
Januar-Februar
März
April-Mai-Juni-Juli
August-September-Oktober
November-Dezember
Code: Select all
days are translated
REQUEST DBFCDX
REQUEST HB_LANG_DE
REQUEST HB_CODEPAGE_ESWIN
Static nPop := 0
Static oItems
Static aChecks
//----------------------------------------------------------------------------//
function Main()
local oBrush
local oMenu
local oWnd
oItems := Array( 6 )
aChecks := { .F., .F., .F., .F., .F., .F. }
HB_CDPSELECT("DEWIN")
HB_LangSelect( "DE" )
regards
Uwe
Last edited by ukoenig on Fri Mar 08, 2019 2:51 pm, edited 1 time in total.
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
i work with FW.
If you have any questions about special functions, maybe i can help.
- Silvio.Falconi
- Posts: 4956
- Joined: Thu Oct 18, 2012 7:17 pm
Re: How to translate some parts of sample01 ( spanish ) ?
REQUEST DBFCDX
REQUEST HB_LANG_DE
REQUEST HB_CODEPAGE_ESWIN <------------------error Dewin
I not remember but the string are with fwstring function ?
REQUEST HB_LANG_DE
REQUEST HB_CODEPAGE_ESWIN <------------------error Dewin
I not remember but the string are with fwstring function ?
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
Re: How to translate some parts of sample01 ( spanish ) ?
Silvio,
it seems the problem belongs only to
REQUEST HB_LANG_DE
REQUEST HB_CODEPAGE_DEWIN
doesn't have any effect.
maybe something else must be added
regards
Uwe
it seems the problem belongs only to
REQUEST HB_LANG_DE
REQUEST HB_CODEPAGE_DEWIN
doesn't have any effect.
maybe something else must be added
regards
Uwe
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
i work with FW.
If you have any questions about special functions, maybe i can help.
- Silvio.Falconi
- Posts: 4956
- Joined: Thu Oct 18, 2012 7:17 pm
Re: How to translate some parts of sample01 ( spanish ) ?
strange
here run ok
here run ok
Code: Select all
REQUEST HB_LANG_IT
REQUEST DBFCDX
REQUEST DBFFPT
EXTERNAL ordkeyno, ordkeycount,ordcreate,ordkeygoto
FUNCTION Main()
PUBLIC oApp
RddSetDefault( "DBFCDX" )
HB_LangSelect("IT")
SetHandleCount( 100 )
SET DATE FORMAT "dd-mm-yyyy"
SET DELETED ON
SET CENTURY ON
SET EPOCH TO year( date() ) - 20
SET MULTIPLE OFF
Last edited by Silvio.Falconi on Fri Mar 08, 2019 12:27 pm, edited 1 time in total.
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
- Silvio.Falconi
- Posts: 4956
- Joined: Thu Oct 18, 2012 7:17 pm
Re: How to translate some parts of sample01 ( spanish ) ?
Now I made a test on Germany and there are errors with Germany lang !!!
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
Re: How to translate some parts of sample01 ( spanish ) ?
Silvio,
the program is ok and works fine
it is only the german translation of the month < März >
because it is defined in < HB_LANG_DE >
day names are ok no ä ö ü are included.
regards
Uwe
the program is ok and works fine
it is only the german translation of the month < März >
because it is defined in < HB_LANG_DE >
day names are ok no ä ö ü are included.
regards
Uwe
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
i work with FW.
If you have any questions about special functions, maybe i can help.
- Silvio.Falconi
- Posts: 4956
- Joined: Thu Oct 18, 2012 7:17 pm
Re: How to translate some parts of sample01 ( spanish ) ?
I'm thinking there is a command to set these letter of alphabet....
Perhaps Otto Know wich is the command
Cristobal ?
Nages ?
Antonio?
Perhaps Otto Know wich is the command
Cristobal ?
Nages ?
Antonio?
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
Re: How to translate some parts of sample01 ( spanish ) ?
Uwe, probiere dies:
Code: Select all
REQUEST HB_CODEPAGE_DEWIN //// Sortierung in Harbour
HB_SETCODEPAGE("DEWIN")
#ifdef AUSTRIA
REQUEST HB_LANG_DE_AT
HB_LANGSELECT("de_at")
#else
REQUEST HB_LANG_DEWIN
HB_LANGSELECT("DEWIN")
#endif
Re: How to translate some parts of sample01 ( spanish ) ?
Günther,
Thank You very much,
tested and works fine
it is a nice tool and I will add some improvements and extensions.
There will be a language-file and color-adjustment.
the changes on top of the prog.
:
regards
Uwe
Thank You very much,
tested and works fine
it is a nice tool and I will add some improvements and extensions.
There will be a language-file and color-adjustment.
the changes on top of the prog.
:
Code: Select all
REQUEST DBFCDX
REQUEST HB_CODEPAGE_DEWIN //// Sorting in Harbour
Static nPop := 0
Static oItems
Static aChecks
//---------------------------------
FUNCTION MAIN()
local oBrush
local oMenu
local oWnd
oItems := Array( 6 )
aChecks := { .F., .F., .F., .F., .F., .F. }
HB_SETCODEPAGE("DEWIN")
#ifdef AUSTRIA
REQUEST HB_LANG_DE_AT
HB_LANGSELECT("de_at")
#else
REQUEST HB_LANG_DEWIN
HB_LANGSELECT("DEWIN")
#endif
HB_CDPSELECT("DEWIN")
Uwe
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
i work with FW.
If you have any questions about special functions, maybe i can help.