Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Sức khỏe - Y tế
Văn bản luật
Nông Lâm Ngư
Kỹ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Giới thiệu
Đăng ký
Đăng nhập
Tìm
Danh mục
Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Y tế sức khỏe
Văn bản luật
Nông lâm ngư
Kĩ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Thông tin
Điều khoản sử dụng
Quy định bảo mật
Quy chế hoạt động
Chính sách bản quyền
Giới thiệu
Đăng ký
Đăng nhập
0
Trang chủ
Công Nghệ Thông Tin
Quản trị Web
Creating Applications with Mozilla-Chapter 11. Localization-P2
Đang chuẩn bị liên kết để tải về tài liệu:
Creating Applications with Mozilla-Chapter 11. Localization-P2
Tuyết Lâm
26
16
pdf
Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
Tham khảo tài liệu 'creating applications with mozilla-chapter 11. localization-p2', công nghệ thông tin, quản trị web phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | Chapter 11. Localization-P2 As you can see from their names and their locations in the chrome each bundle serves a different purpose. They include a file that contains the bulk of the strings for the browser navigator.properties a file that includes branding strings and a couple of files for regional information. This model is useful if you need to output many strings to the UI from your source code and would like to organize them into meaningful groups. 11.3.1. Inside a Bundle A string bundle .properties file has a very simple format. It contains one or more lines that have the identifier associated with the localizable string. The format of a string bundle string with an identifier is Identifier String The format for comments in a bundle file requires the hash notation . Comments are useful for notifying translators of the context of strings or flagging a string that should be left as is and not localized. Comments in properties files are formatted in the following manner. DO NOT TRANSLATE applicationTitle xFly Spaces in bundles are treated literally -- spaces between words are observed with the exception of the start and the end of the string. The next section shows the methods and properties specific to the stringbundle element that are available to you when you use it. The implementations are contained in the binding for the element. 11.3.2. String Bundle Methods and Properties Defining your bundle in XUL and then creating the file with the values is only half the story. This section shows how to extract the values from the bundle and place them in UI. The language of choice in these examples is JavaScript. This process is necessary when you have to change values in the UI because DTD entities can not be updated dynamically. 11.3.2.1. Methods Our bundle is defined in XUL like this stringbundle id bundle_xfly src chrome xfly locale xfly.properties To access the methods of the bundle object in your script you have to get a handle on the XUL element by using its
TÀI LIỆU LIÊN QUAN
Getting Started: Creating Applications with µVision
OSGi in Action: Creating Modular Applications in Java
Modular Java Creating Flexible Applications with OSGi and Spring
Programming in Go: Creating Applications for the 21st Century, Rough Cuts
Professional Flash Mobile Development: Creating Android and iPhone Applications
Ebook Developer’s Guide
The Creating Views
THIẾT KẾ CÁC ỨNG DỤNG GUI BẰNG WINDOWS FORMS
Ebook Professional android application development
HLSL and Pixel Shaders for XAML Developers
crossorigin="anonymous">
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.