Primeur Online Docs
Data Shaper
Data Shaper
  • 🚀GETTING STARTED
    • What is Primeur Data Shaper
      • What is the Data Shaper Designer
      • What is the Data Shaper Server
      • What is the Data Shaper Cluster
    • How does the Data Shaper Designer work
      • Designer Views and Graphs
      • Data Shaper Graphs
      • Designer Projects and Sandboxes
      • Data Shaper Designer Reference
    • How do the Data Shaper Server and Cluster work
      • Data Shaper Server and Cluster
      • Data Shaper Server Reference
    • VFS Graph Components
      • DataOneFileDescriptor (DOFD) metadata
      • Passing parameters from Data One Contract to Data Shaper graph
      • Inheriting Data One context attributes in Data Shaper graph
  • DATA SHAPER DESIGNER
    • Configuration
      • Runtime configuration
        • Logging
        • Master Password
        • User Classpath
      • Data Shaper Server Integration
      • Execution monitoring
      • Java configuration
      • Engine configuration
      • Refresh Operation
    • Designer User Interface
      • Graph Editor with Palette of Components
      • Project Explorer Pane
      • Outline Pane
      • Tabs Pane
      • Execution Tab
      • Keyboard Shortcuts
    • Projects
      • Creating Data Shaper projects
      • Converting Data Shaper projects
      • Structure of Data Shaper projects
      • Versioning of server project content
      • Working with Data Shaper Server Projects
      • Project configuration
    • Graphs
      • Creating an empty graph
      • Creating a simple graph
        • Placing Components
        • Placing Components from Palette
        • Connecting Components with Edges
    • Execution
      • Successful Graph Execution
      • Run configuration
      • Connecting to a running job
      • Graph states
    • Common dialogs
      • URL file dialog
      • Edit Value dialog
      • Open Type dialog
    • Import
      • Import Data Shaper projects
      • Import from Data Shaper server sandbox
      • Import graphs
      • Import metadata
    • Export
      • Export graphs to HTML
      • Export to Data Shaper Server sandbox
      • Export image
      • Export Project as Library
    • Graph tracking
      • Changing record count font size
    • Search functionality
    • Working with Data Shaper server
      • Data Shaper server project basic principles
      • Connecting via HTTP
      • Connecting via HTTPS
      • Connecting via Proxy Server
    • Graph components
      • Adding components
      • Finding components
      • Edit component dialog box
      • Enable/disable component
      • Passing data through disabled component
      • Common properties of components
      • Specific attribute types
      • Metadata templates
    • Edges
      • Connecting Components with Edges
      • Types of Edges
      • Assigning Metadata to Edges
      • Colors of Edges
      • Debugging Edges
      • Edge Memory Allocation
    • Metadata
      • Records and Fields
        • Record Types
        • Data Types in Metadata
        • Data Formats
        • Locale and Locale Sensitivity
        • Time Zone
        • Autofilling Functions
      • Metadata Types
        • Internal Metadata
        • External (Shared) Metadata
        • SQL Query Metadata
        • Reading Metadata from Special Sources
      • Auto-propagated Metadata
        • Sources of Auto-Propagated Metadata
        • Explicitly Propagated Metadata
        • Priorities of Metadata
        • Propagation of SQL Query Metadata
      • Creating Metadata
        • Extracting Metadata from a Flat File
        • Extracting Metadata from an XLS(X) File
        • Extracting Metadata from a Database
        • Extracting Metadata from a DBase File
        • Extracting Metadata from Salesforce
        • SQL Query Metadata
        • User Defined Metadata
      • Merging Existing Metadata
      • Creating Database Table from Metadata and Database Connection
      • Metadata Editor
        • Opening Metadata Editor
        • Basics of Metadata Editor
        • Record Pane
        • Field Name vs. Label vs. Description
        • Details Pane
      • Changing and Defining Delimiters
      • Editing Metadata in the Source Code
      • Multi-value Fields
        • Lists and Maps Support in Components
        • Joining on multivalue fields (Comparison Rules)
    • Connections
      • Database Connections
        • Internal Database Connections
        • External (Shared) Database Connections
        • Database Connections Properties
        • Encryption of Access Password
        • Browsing Database and Extracting Metadata from Database Tables
        • Windows Authentication on Microsoft SQL Server
        • Snowflake Connection
        • Hive Connection
        • Troubleshooting
      • JMS Connections
      • QuickBase Connections
      • Hadoop Connections
      • Kafka Connections
      • OAuth2 Connections
      • MongoDB Connections
      • Salesforce Connections
    • Lookup Tables
      • Lookup Tables in Cluster Environment
      • Internal Lookup Tables
      • External (Shared) Lookup Tables
      • Types of Lookup Tables
    • Sequences
      • Persistent Sequences
      • Non Persistent Sequences
      • Internal Sequences
      • External (Shared) Sequences
      • Editing a Sequence
      • Sequences in Cluster Environment
    • Parameters
      • Internal Parameters
      • External (Shared) Parameters
      • Secure Graph Parameters
      • Graph Parameter Editor
      • Secure Graph Parameters
      • Parameters with CTL2 Expressions (Dynamic Parameters)
      • Environment Variables
      • Canonicalizing File Paths
      • Using Parameters
    • Internal/External Graph Elements
    • Dictionary
      • Creating a Dictionary
      • Using a Dictionary in Graphs
    • Execution Properties
    • Notes in Graphs
      • Placing Notes into Graph
      • Resizing Notes
      • Editing Notes
      • Formatted Text
      • Links from Notes
      • Folding Notes
      • Notes Properties
    • Transformations
      • Defining Transformations
      • Transform Editor
      • Common Java Interfaces
    • Data Partitioning (Parallel Running)
    • Data Partitioning in Cluster
      • High Availability
      • Scalability
      • Graph Allocation Examples
      • Example of Distributed Execution
      • Remote Edges
    • Readers
      • Common Properties of Readers
      • ComplexDataReader
      • DatabaseReader
      • DataGenerator
      • DataOneVFSReader
      • EDIFACTReader
      • FlatFileReader
      • JSONExtract
      • JSONReader
      • LDAPReader
      • MultiLevelReader
      • SpreadsheetDataReader
      • UniversalDataReader
      • X12Reader
      • XMLExtract
      • XMLReader
      • XMLXPathReader
    • Writers
      • Common Properties of Writers
      • DatabaseWriter
      • DataOneVFSWriter
      • EDIFACTWriter
      • FlatFileWriter
      • JSONWriter
      • LDAPWriter
      • SpreadsheetDataWriter
      • HIDDEN StructuredDataWriter
      • HIDDEN TableauWriter
      • Trash
      • UniversalDataWriter
      • X12Writer
      • XMLWriter
    • Transformers
      • Common Properties of Transformers
      • Aggregate
      • Concatenate
      • DataIntersection
      • DataSampler
      • Dedup
      • Denormalizer
      • ExtSort
      • FastSort
      • Filter
      • Map
      • Merge
      • MetaPivot
      • Normalizer
      • Partition
      • Pivot
      • Rollup
      • SimpleCopy
      • SimpleGather
      • SortWithinGroups
      • XSLTransformer
    • Joiners
      • Common Properties of Joiners
      • Combine
      • CrossJoin
      • DBJoin
      • ExtHashJoin
      • ExtMergeJoin
      • LookupJoin
      • RelationalJoin
    • Others
      • Common Properties of Others
      • CheckForeignKey
      • DBExecute
      • HTTPConnector
      • LookupTableReaderWriter
      • WebServiceClient
    • CTL2 - Data Shaper Transformation Language
    • Language Reference
      • Program Structure
      • Comments
      • Import
      • Data Types in CTL2
      • Literals
      • Variables
      • Dictionary in CTL2
      • Operators
      • Simple Statement and Block of Statements
      • Control Statements
      • Error Handling
      • Functions
      • Conditional Fail Expression
      • Accessing Data Records and Fields
      • Mapping
      • Parameters
      • Regular Expressions
    • CTL Debugging
      • Debug Perspective
      • Importing and Exporting Breakpoints
      • Inspecting Variables and Expressions
      • Examples
    • Functions Reference
      • Conversion Functions
      • Date Functions
      • Mathematical Functions
      • String Functions
      • Mapping Functions
      • Container Functions
      • Record Functions (Dynamic Field Access)
      • Miscellaneous Functions
      • Lookup Table Functions
      • Sequence Functions
      • Data Service HTTP Library Functions
      • Custom CTL Functions
      • CTL2 Appendix - List of National-specific Characters
      • HIDDEN Subgraph Functions
    • Tutorial
      • Creating a Transformation Graph
      • Filtering the records
      • Sorting the Records
      • Processing Speed-up with Parallelization
      • Debugging the Java Transformation
  • DATA SHAPER SERVER
    • Introduction
    • Administration
      • Monitoring
    • Using Graphs
      • Job Queue
      • Execution History
      • Job Inspector
    • Cluster
      • Sandboxes in Cluster
      • Troubleshooting
  • Install Data Shaper
    • Install Data Shaper
      • Introduction to Data Shaper installation process
      • Planning Data Shaper installation
      • Data Shaper System Requirements
      • Data Shaper Domain Master Configuration reference
      • Performing Data Shaper initial installation and master configuration
        • Creating database objects for PostgreSQL
        • Creating database objects for Oracle
        • Executing Data Shaper installer
        • Configuring additional firewall rules for Data Shaper
Powered by GitBook
On this page
  • Locale
  • List of all Locale
  • Locale Sensitivity
  1. DATA SHAPER DESIGNER
  2. Metadata
  3. Records and Fields

Locale and Locale Sensitivity

PreviousData FormatsNextTime Zone

Various data types (date and time, any numeric values, strings) can be displayed, parsed, or formatted in different ways according to the Locale property.

Strings can also be influenced by Locale sensitivity.

Locale

Locale represents a specific geographical, political, or cultural region. An operation that requires a locale to perform its task is called locale-sensitive and uses the locale to tailor information for the user. For example, displaying a number is a locale-sensitive operation as the number should be formatted according to the customs/conventions of the native country, region, or culture of the user.

Each locale code consists of the language code and country arguments.

The language argument is a valid ISO Language Code. These codes are the lower-case, two-letter codes as defined by ISO-639.

The country argument is a valid ISO Country Code. These codes are the upper-case, two-letter codes as defined by ISO-3166.

Instead of specifying the format parameter (or together with it), you can specify the locale parameter.

  • In strings, instead of setting a format for the whole date field, specify e.g. the German locale. Data Shaper will then automatically choose the proper date format used in Germany. If the locale is not specified at all, Data Shaper will choose the default one which is given by your system. In order to learn how to change the default locale, refer to .

  • In numbers, on the other hand, there are cases when both the format and locale parameters are meaningful. In the case of specifying the format of decimal numbers, you define the format/pattern with a decimal separator and the locale determines whether the separator is a comma or a dot. If neither the locale or format is specified, the number is converted to string using a universal technique (without checking defaultProperties). If only the format parameter is given, the default locale is used.

See also for details about locale in Java.

Example 7. Examples of Locale

en.US or en.GB

For more examples of formatting affected by changing the locale, see above.

Dates, too, can have different formats in different locales (even with different countries of the same language). For instance, March 2, 2009 (in the USA) vs. 2 March 2009 (in the UK).

List of all Locale

A complete list of the locales supported by Data Shaper can be found in a separate table below. The locale format as described above is always "language.COUNTRY".

LOCALE CODE
MEANING

[system default]

Locale determined by your OS

ar

Arabic language

ar.AE

Arabic - United Arab Emirates

ar.BH

Arabic - Bahrain

ar.DZ

Arabic - Algeria

ar.EG

Arabic - Egypt

ar.IQ

Arabic - Iraq

ar.JO

Arabic - Jordan

ar.KW

Arabic - Kuwait

ar.LB

Arabic - Lebanon

ar.LY

Arabic - Libya

ar.MA

Arabic - Morocco

ar.OM

Arabic - Oman

ar.QA

Arabic - Qatar

ar.SA

Arabic - Saudi Arabia

ar.SD

Arabic - Sudan

ar.SY

Arabic - Syrian Arab Republic

ar.TN

Arabic - Tunisia

ar.YE

Arabic - Yemen

be

Belorussian language

be.BY

Belorussian - Belarus

bg

Bulgarian language

bg.BG

Bulgarian - Bulgaria

ca

Catalan language

ca.ES

Catalan - Spain

cs

Czech language

cs.CZ

Czech - Czech Republic

da

Danish language

da.DK

Danish - Denmark

de

German language

de.AT

German - Austria

de.CH

German - Switzerland

de.DE

German - Germany

de.LU

German - Luxembourg

el

Greek language

el.CY

Greek - Cyprus

el.GR

Greek - Greece

en

English language

en.AU

English - Australia

en.CA

English - Canada

en.GB

English - Great Britain

en.IE

English - Ireland

en.IN

English - India

en.MT

English - Malta

en.NZ

English - New Zealand

en.PH

English - Philippines

en.SG

English - Singapore

en.US

English - United States

en.ZA

English - South Africa

es

Spanish language

es.AR

Spanish - Argentina

es.BO

Spanish - Bolivia

es.CL

Spanish - Chile

es.CO

Spanish - Colombia

es.CR

Spanish - Costa Rica

es.DO

Spanish - Dominican Republic

es.EC

Spanish - Ecuador

es.ES

Spanish - Spain

es.GT

Spanish - Guatemala

es.HN

Spanish - Honduras

es.MX

Spanish - Mexico

es.NI

Spanish - Nicaragua

es.PA

Spanish - Panama

es.PR

Spanish - Puerto Rico

es.PY

Spanish - Paraguay

es.US

Spanish - United States

es.UY

Spanish - Uruguay

es.VE

Spanish - Venezuela

et

Estonian language

et.EE

Estonian - Estonia

fi

Finnish language

fi.FI

Finnish - Finland

fr

French language

fr.BE

French - Belgium

fr.CA

French - Canada

fr.CH

French - Switzerland

fr.FR

French - France

fr.LU

French - Luxembourg

ga

Irish language

ga.IE

Irish - Ireland

he

Hebrew language

he.IL

Hebrew - Israel

hi.IN

Hindi - India

hr

Croatian language

hr.HR

Croatian - Croatia

id

Indonesian language

id.ID

Indonesian - Indonesia

is

Icelandic language

is.IS

Icelandic - Iceland

it

Italian language

it.CH

Italian - Switzerland

it.IT

Italian - Italy

iw

Hebrew language

iw.IL

Hebrew - Israel

ja

Japanese language

ja.JP

Japanese - Japan

ko

Korean language

ko.KR

Korean - Republic of Korea

lt

Lithuanian language

lt.LT

Lithuanian language - Lithuania

lv

Latvian language

lv.LV

Latvian language - Latvia

mk

Macedonian language

mk.MK

Macedonian - The Former Yugoslav Republic of Macedonia

ms

Malay language

ms.MY

Malay - Burmese

mt

Maltese language

mt.MT

Maltese - Malta

nl

Dutch language

nl.BE

Dutch - Belgium

nl.NL

Dutch - Netherlands

no

Norwegian language

no.NO

Norwegian - Norway

pl

Polish language

pl.PL

Polish - Poland

pt

Portuguese language

pt.BR

Portuguese - Brazil

pt.PT

Portuguese - Portugal

ro

Romanian language

ro.RO

Romanian - Romany

ru

Russian language

ru.RU

Russian - Russian Federation

sk

Slovak language

sk.SK

Slovak - Slovakia

sl

Slovenian language

sl.SI

Slovenian - Slovenia

sq

Albanian language

sq.AL

Albanian - Albania

sr

Serbian language

sr.BA

Serbian - Bosnia and Herzegowina

sr.CS

Serbian - Serbia and Montenegro

sr.ME

Serbian - Serbia (Cyrillic, Montenegro)

sr.RS

Serbian - Serbia (Latin, Serbia)

sv

Swedish language

sv.SE

Swedish - Sweden

th

Thai language

th.TH

Thai - Thailand

tr

Turkish language

tr.TR

Turkish - Turkey

uk

Ukrainian language

uk.UA

Ukrainian - Ukraine

vi.VN

Vietnamese - Vietnam

zh

Chinese language

zh.CN

Chinese - China

zh.HK

Chinese - Hong Kong

zh.SG

Chinese - Singapore

zh.TW

Chinese - Taiwan

Locale Sensitivity

Locale sensitivity can be applied to the string data type only. What is more, the Locale has to be specified either for the field or the whole record.

Field settings override the Locale sensitivity specified for the whole record.

Values of Locale sensitivity are the following:

  • base_letter_sensitivity Does not distinguish different cases of letters nor letters with diacritic marks.

  • accent_sensitivity Does not distinguish different cases of letters. It distinguishes letters with diacritic marks.

  • case_sensitivity Distinguishes different cases of letters and letters with diacritic marks. It does not distinguish the letter encoding ("\u00C0" equals to "A\u0300").

  • identical_sensitivity Distinguishes the letter encoding ("\u00C0" equals to "A\u0300").

Engine Configuration
Class Locale