MACROMEDIA FLEX-FLEX ACTIONSCRIPT LANGUAGE Instrukcja Użytkownika Strona 116

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 124
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 115
TUTORIALS POINT
Simply Easy Learning Page 111
Create properties file containing the messages to be used in the application. We've created
aHelloWorldMessages.properties file under src > locale > en_US folder in our example.
enterName=Enter your name
clickMe=Click Me
applicationTitle=Application Internationalization Demonstration
greeting=Hello {0}
Create properties files containing translated values specific to locale. We've created
aHelloWorldMessages.properties file under src > locale > de_DE folder in our example. This file contains
translations in german language. _de specifies the german locale and we're going to support german language in
our application.
If you are creating properties file using Flash Builder then change the encoding of the file to UTF-8.Select the file
and then right-click in it to open its properties window.Select Text file encoding asOther UTF-8. Apply and Save the
change.
enterName=Geben Sie Ihren Namen
clickMe=Klick mich
applicationTitle=Anwendung Internationalisierung Demonstration
greeting=Hallo {0}
Step 3: Specify Compiler options
Right-click your project and select Properties.
Select Flex Compiler, and add the following to the Additional Compiler Arguments settings:
-locale en_US de_DE
Right-click your project and select Properties.
Select Flex Build Path, and add the following to the Source Path settings:
src\locale\{locale}
Internalization Example
Now Let us follow the following steps to test Internalization technique in a Flex application:
Step
Description
1
Create a project with a name HelloWorld under a package com.tutorialspoint.client as explained in
the Flex - Create Application chapter.
Przeglądanie stron 115

Komentarze do niniejszej Instrukcji

Brak uwag

Altigen IP telefony uživatelské příručky

Začínající na A

Klepnutím na abecedu níže přejděte na úplný seznam modelů začínajících tímto písmenem

Modely Typ Dokumentu
Alti-IP 600H Phone
Specifikace   Altigen Alti-IP 600H Phone Specifications, 65 stránky
Altiware OE 4.5
Specifikace   Altigen Altiware OE 4.5 Specifications, 65 stránky
AltiWare OE/ACC Version 5.0
Specifikace   Altigen AltiWare OE/ACC Version 5.0 Specifications, 75 stránky
Specifikace   Altigen AltiWare OE/ACC Version 5.0 Specifications, 77 stránky