FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
NATION Used in an app using English and Spanish
NATION Used in an app using English and Spanish
Débuté par Mister VINCENT, 05 jan. 2017 20:53 - Aucune réponse
Connectez-vous…
Mister VINCENT
#1
Membre enregistré
19 messages
Posté le 05 janvier 2017 - 20:53
I've never had a problem with this before and have applications that use different languages. But, on a new application written with version 21, I have a menu option where, clicking the option, the user is asked to decide what language the windows will appear in. The selection is made and the text of the window changes to the requested language. But, upon selecting something from the menu and proceeding to that chosen window, the new window reverts back to the original language.
To see if there is code somewhere reverting the windows, I used the debugger. It shows the language chosen correctly, the window changes but, immediately on proceding to the next window, I am back to the original language.
I put a button on a review window (WIN_Inventory) to further test. The language is changed. Upon calling an update window (WIN_UInventory), the language is back to the original. There is no code in the second window that would do this. The window where the language is changed has the following code:
//1 : Yes
//2 : No
SWITCH Dialog("Do you want this application in Spanish?")
// Yes
CASE 1
Nation(nationSpanish)
// No
CASE 2
Nation(nationAmerican)
END
I don't understand what is happening. Anyone had a similar experience?
Vincent C
--
Vincent D Crosby
Signaler
0
0
→ Revenir à WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte