... SpanishStr", "FrenchStr", nil, "GermalStr", "ItalianStr" } )
y desde tu aplicación usar FWString( "SpanishStr" )
El idioma a mostrar se selecciona con FWSetLanguage( nLanguage )
FWH ya incluye muchas palabras y frases ya traducidas que puedes usar. Revisa el fichero source\function\strings.prg
Search found 18 matches: nlanguage
Searched query: nlanguage
- Fri Jul 24, 2020 6:31 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: RC y varis lenguajes
- Replies: 2
- Views: 599
- Fri May 31, 2019 7:17 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Ribbonbar & XbrGetDate
- Replies: 0
- Views: 382
Ribbonbar & XbrGetDate
... May 2019" and before converte the date into this string with Convertidata(dTemp) function then I must converte to date with Conv_Textdate( cDate, nLanguage )
If i insert { dDataInizialeStagione},{ dDataFinaleStagione}
instead of {^ 2019/05/15 }, {^ 2019/05/30 } make error
then the calendar is ...
If i insert { dDataInizialeStagione},{ dDataFinaleStagione}
instead of {^ 2019/05/15 }, {^ 2019/05/30 } make error
then the calendar is ...
- Wed Apr 24, 2019 2:40 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: FiveDBU no guarda preferencias
- Replies: 3
- Views: 635
Re: FiveDBU no guarda preferencias
Este es el codigo para guardar las preferencias.
function SavePreferences()
local oIni
DEFAULT nLanguage := FWSetLanguage()
INI oIni FILE GetEnv( "APPDATA" ) + "\fivedbu.ini"
SET SECTION "Default" ENTRY "RDD" OF oIni TO cDefRdd
SET SECTION "Default" ENTRY "Shared" OF oIni TO lShared
SET ...
function SavePreferences()
local oIni
DEFAULT nLanguage := FWSetLanguage()
INI oIni FILE GetEnv( "APPDATA" ) + "\fivedbu.ini"
SET SECTION "Default" ENTRY "RDD" OF oIni TO cDefRdd
SET SECTION "Default" ENTRY "Shared" OF oIni TO lShared
SET ...
- Sat Nov 10, 2018 7:59 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: FWH 18.10: Enhancements to strings.prg
- Replies: 19
- Views: 7498
Re: FWH 18.08: Enhancements to strings.prg
... fivedbu.prg
@ 5.0, 1.5 SAY FWString( "Language" ) OF oDlg // You use FWString( cText ) instead of cText
To retrieve the default language id:
nLanguage = FWSetLanguage()
To use a different language:
FWSetLanguage( nLanguageId )
where 1 is English, 2 is Spanish, 3 is French, 4 is Portuguese, 5 ...
@ 5.0, 1.5 SAY FWString( "Language" ) OF oDlg // You use FWString( cText ) instead of cText
To retrieve the default language id:
nLanguage = FWSetLanguage()
To use a different language:
FWSetLanguage( nLanguageId )
where 1 is English, 2 is Spanish, 3 is French, 4 is Portuguese, 5 ...
- Mon Feb 23, 2015 1:54 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: problema con SetFont
- Replies: 17
- Views: 6231
Re: problema con SetFont
... AS NUMERIC INIT 42
DATA lSelectOK AS LOGICAL INIT .T.
DATA bCambioMes //Block a ejecutar cuando cambie el mes...
DATA bFestivos //Bingen
DATA nLanguage //Bingen
DATA aMeses AS ARRAY INIT ARRAY(12) //Bingen
DATA nLastDay AS NUMERIC INIT 1
// Datos relacionados con la fecha seleccionada.
DATA ...
DATA lSelectOK AS LOGICAL INIT .T.
DATA bCambioMes //Block a ejecutar cuando cambie el mes...
DATA bFestivos //Bingen
DATA nLanguage //Bingen
DATA aMeses AS ARRAY INIT ARRAY(12) //Bingen
DATA nLastDay AS NUMERIC INIT 1
// Datos relacionados con la fecha seleccionada.
DATA ...
- Mon Feb 23, 2015 10:43 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: problema con SetFont
- Replies: 17
- Views: 6231
problema con SetFont
Hola,
En una clase, asignaba ::oFont así:
METHOD New ( nTop, nLeft, nWidth, nHeight, oWnd, oFont, nLANGUAGE ) CLASS TMiCalendario
DEFAULT nTop:=5, nLeft:=5,nWidth:=120,nHeight:=120 //Bingen
DEFAULT nLanguage := L_SPANISH
[...]
::oWnd := oWnd
::oFont := oFont
Ahora, ::oFont:SetFont( oFont ...
En una clase, asignaba ::oFont así:
METHOD New ( nTop, nLeft, nWidth, nHeight, oWnd, oFont, nLANGUAGE ) CLASS TMiCalendario
DEFAULT nTop:=5, nLeft:=5,nWidth:=120,nHeight:=120 //Bingen
DEFAULT nLanguage := L_SPANISH
[...]
::oWnd := oWnd
::oFont := oFont
Ahora, ::oFont:SetFont( oFont ...
- Sat Oct 12, 2013 7:31 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: fwstrings lang
- Replies: 1
- Views: 866
fwstrings lang
... 41; } ) end return nil
the function Preferences is modify with this
because I need to modify this line ON CHANGE ( FWSetLanguage( nLanguage ), oApp:oWndMain:SetMenu( oApp:BuildMenu() ), oApp:BuildBtnBar() )
function Preferences() local oDlg DEFINE ...
the function Preferences is modify with this
because I need to modify this line ON CHANGE ( FWSetLanguage( nLanguage ), oApp:oWndMain:SetMenu( oApp:BuildMenu() ), oApp:BuildBtnBar() )
function Preferences() local oDlg DEFINE ...
- Sun Sep 08, 2013 4:08 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: German and Italian translations help required
- Replies: 5
- Views: 4649
Re: German and Italian translations help required
static nLanguage := 0 // Initially will be set by LanguageID() function
// 1 English, 2 Spanish, 3 French, 4 Portugese, 5 German, 6 Italian
static aStrings := { ;
{ "Attention", "Atención", "Attention", "Atenção", "Achtung", "Attenzione" }, ;
{ "PDF Plugin Error", "Error del plugin de PDF", "Erreur ...
// 1 English, 2 Spanish, 3 French, 4 Portugese, 5 German, 6 Italian
static aStrings := { ;
{ "Attention", "Atención", "Attention", "Atenção", "Achtung", "Attenzione" }, ;
{ "PDF Plugin Error", "Error del plugin de PDF", "Erreur ...
- Thu Aug 08, 2013 6:43 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Introducing the new FW Strings API
- Replies: 30
- Views: 17917
Re: Introducing the new FW Strings API
richard-service wrote:Antonio,
May I set nLanguage 4 = Traditional Chinese?
It is possible to add any language dynamically by calling
FWAddLanguage( aTranslates ) --> nNewLangID
- Mon Aug 05, 2013 6:33 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Introducing the new FW Strings API
- Replies: 30
- Views: 17917
Re: Introducing the new FW Strings API
Antonio,
May I set nLanguage 4 = Traditional Chinese?
May I set nLanguage 4 = Traditional Chinese?
- Wed Aug 18, 2010 7:57 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Win7 + EZTW32.DLL problem?
- Replies: 14
- Views: 6531
Re: Win7 + EZTW32.DLL problem?
... T.,.F.)
// Register my application into Twain application
METHOD Register()
LOCAL nMaiorNum := 1
LOCAL nMinorNum := 0 // Result -> 1.0
LOCAL nLanguage := 0
LOCAL nCountry := 0
LOCAL cVersion := "1.0"
LOCAL cManifact := "The Genius"
LOCAL cFamily := "Digitizer"
LOCAL cProduct := StrTran ...
// Register my application into Twain application
METHOD Register()
LOCAL nMaiorNum := 1
LOCAL nMinorNum := 0 // Result -> 1.0
LOCAL nLanguage := 0
LOCAL nCountry := 0
LOCAL cVersion := "1.0"
LOCAL cManifact := "The Genius"
LOCAL cFamily := "Digitizer"
LOCAL cProduct := StrTran ...
- Sat Jun 07, 2008 1:22 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Scanner automation
- Replies: 7
- Views: 4697
Re: Scanner automation
... Registra la aplicacion
***************************************************************************
METHOD Register( nMajor ,nMinor,nLanguage,nCountry,cVersion,cName,cFamily,cProduct ) CLASS TSCAN32
TW_REGISTERAPP( nMajor ,nMinor,nLanguage,nCountry,;
cVersion,cName,cFamily ...
***************************************************************************
METHOD Register( nMajor ,nMinor,nLanguage,nCountry,cVersion,cName,cFamily,cProduct ) CLASS TSCAN32
TW_REGISTERAPP( nMajor ,nMinor,nLanguage,nCountry,;
cVersion,cName,cFamily ...
- Thu Jul 05, 2007 5:44 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: TGraph 2.0 de Alfredo Arteaga
- Replies: 16
- Views: 6769
- Mon Aug 07, 2006 3:33 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Please teach me about FWH and xHarbour
- Replies: 3
- Views: 4562
- Thu Jun 22, 2006 8:41 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Clase Calendario
- Replies: 7
- Views: 1846