Package X3dForAdvancedModeling.HelloWorldScenes
This chapter tests Internationalization (I18N) and Localization (L14N) of text display through a collection of HelloWorld scenes in many different human languages.
This chapter presents a collection of interesting variations on the original HelloWorld.x3d reference scene using many different languages, thus testing foreign-language support by HTML browsers and X3D players.
The Hello World scene itself was inspired as a basic test that follows a common pattern,
demonstrating the simplest possible way to say "Hello World
" in a given programming language.
You might know that there are many such programs for many different programming languages.
VRML and X3D are both illustrated on the
Hello World Wikipedia page
as part of several hundred programming languages.
X3D scene models typically use the UTF-8 character encoding which is capable of representing all possible characters used in human languages. Of further interest is Internationalization (I18N) and Localization (L10N) on the Web, which is the use of different languages in documents. Lots of work is ongoing as part of the W3C Internationalization (i18n) Activity. XML provides excellent I18N support for the Web. The X3D Text component allows authors to specify the use of numerous different language encodings, along with corresponding justify field for vertical and horizontal line alignment ("FIRST" "BEGIN" "MIDDLE" "END"), of text directions for horizontal/vertical, leftToRight/right-to-left and topToBottom/bottom-to-top, font family ("SANS" "SERIF" "TYPEWRITER" or other), font style (PLAIN BOLD ITALIC BOLDITALIC), etc. Thus the X3D Graphics International Standard also provides excellent I18N support for any human language on the Web.
Call for contributions! If you are interested in contributing a Hello World scene scene for your country or location, that is great. Please post it to the x3d-public@web3d.org mailing list or else contact us directly. Have fun with X3D!
This X3D4AM Hello World Scenes examples archive is online.
The X3D Java Scene Access Interface (x3djsail) package provides concrete classes for each X3D node and statement.
Online: X3D Java Scene Access Interface Library (X3DJSAIL) and X3DJSAIL Javadoc
- See Also:
-
ClassDescriptionHello World: ¡Pura vida!HelloGermany example scene to show German special characters, built for NPS course MV3204 X3D for Web Authors.HelloPoland example scene to show Polish special characters: Witaj Polsko!.Hello World: Hello Seoul in Korean, 안녕 서울.Hello World: Hello Taiwan in Traditional Chinese, 您好,臺ç?HelloUkraine example scene to show Ukrainian special characters: Привіт Україно!.Simple X3D model example: Hello World!.Developmental scene with numerous comments added to simple X3D scene example for testing JSON encoding alternatives.Hello World minimal example scene.Test X3D version 4 with simple X3D model example: Hello World!.