Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learning Pentaho CTools

You're reading from   Learning Pentaho CTools Acquire finesse with CTools features and build rich and custom analytics solutions using Pentaho

Arrow left icon
Product type Paperback
Published in May 2016
Publisher Packt
ISBN-13 9781785283420
Length 388 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Miguel Gaspar Miguel Gaspar
Author Profile Icon Miguel Gaspar
Miguel Gaspar
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. Getting Started with CTools FREE CHAPTER 2. Acquiring Data with CDA 3. Building the Dashboard Using CDF 4. Leverage the Process with CDE 5. Applying Filters to the Dashboard 6. Tables, Templates, Exports, and Text Components 7. Advanced Concepts Using CDF and CDE 8. Visualizations Using CCC 9. Pentaho App Builder 10. Embed, Deploy, and Debug Index

Internationalization and localization


We can have internationalized and localized dashboards, and these are based on the i18n jQuery plugin. When we need to translate a dashboard, we need to create multiple files in the same folder as the dashboard, all of the .properties files.

The first one is messages_supported_languages.properties, where we need to specify the languages that will be supported. This will dictate the files and languages that should be read. If we want to be able to provide transactions in Portuguese (pt) and English (en), we use:

pt
en

Here we should have <language> and/or <language>_<COUNTRY>, where <language> is the lowercase code for the language and <COUNTRY> is the uppercase country code.

The i18n properties files will be key/value pairs where the names will dictate the language that will be used. We can also make use of a fallback file, but the fallback file doesn't need to be defined in the supported languages file.

We can delegate i18n...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image