Top Banner
no comprendo, Señor APEX Translation Mechanism Peter Raganitsch click-click IT Solutions Dienstag, 22. März 2011
44

click-click IT Solutions - nlOUG · ... • Navigation Bar ... • unclear status of translation progress Dienstag, 22. März 2011

Jun 05, 2018

Download

Documents

truonghanh
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: click-click IT Solutions - nlOUG ·  ... • Navigation Bar ... • unclear status of translation progress Dienstag, 22. März 2011

no comprendo, SeñorAPEX Translation Mechanism

Peter Raganitschclick-click IT Solutions

Dienstag, 22. März 2011

Page 2: click-click IT Solutions - nlOUG ·  ... • Navigation Bar ... • unclear status of translation progress Dienstag, 22. März 2011

Peter Raganitschclick-click IT Solutions

[email protected]://www.click-click.at

http://www.oracle-and-apex.comhttp://apexlib.oracleapex.info

Dienstag, 22. März 2011

Page 3: click-click IT Solutions - nlOUG ·  ... • Navigation Bar ... • unclear status of translation progress Dienstag, 22. März 2011

APEX Translation Mechanism

Dienstag, 22. März 2011

Page 4: click-click IT Solutions - nlOUG ·  ... • Navigation Bar ... • unclear status of translation progress Dienstag, 22. März 2011

© c

lick-

clic

k IT

Sol

utio

ns

Dienstag, 22. März 2011

Page 5: click-click IT Solutions - nlOUG ·  ... • Navigation Bar ... • unclear status of translation progress Dienstag, 22. März 2011

© c

lick-

clic

k IT

Sol

utio

ns

CorporateLanguage

Dienstag, 22. März 2011

Page 6: click-click IT Solutions - nlOUG ·  ... • Navigation Bar ... • unclear status of translation progress Dienstag, 22. März 2011

© c

lick-

clic

k IT

Sol

utio

ns

APEX or Handmade?

Dienstag, 22. März 2011

Page 7: click-click IT Solutions - nlOUG ·  ... • Navigation Bar ... • unclear status of translation progress Dienstag, 22. März 2011

© c

lick-

clic

k IT

Sol

utio

ns

What can be translated?

Labels

Data

Dienstag, 22. März 2011

Page 8: click-click IT Solutions - nlOUG ·  ... • Navigation Bar ... • unclear status of translation progress Dienstag, 22. März 2011

© c

lick-

clic

k IT

Sol

utio

ns

Supported by APEX

• all UI Texts (Item Label, Column Label, Region Title, ...)

• Messages

• Dynamic Translations

Dienstag, 22. März 2011

Page 9: click-click IT Solutions - nlOUG ·  ... • Navigation Bar ... • unclear status of translation progress Dienstag, 22. März 2011

© c

lick-

clic

k IT

Sol

utio

ns

User Interface Text

inadvisable

Dienstag, 22. März 2011

Page 10: click-click IT Solutions - nlOUG ·  ... • Navigation Bar ... • unclear status of translation progress Dienstag, 22. März 2011

© c

lick-

clic

k IT

Sol

utio

ns

User Interface Text• Application Computation• Application Definition• Application Process• Authentication Scheme• Authorization Scheme• Breadcrumb• Breadcrumb Template• Button Template• Calendar Template• Classic Report Column• Dynamic Action• Flash Chart• Flash Chart (Anychart5)• Flash Chart Series• Flash Chart Series (Anychart5)• Interactive Report• Interactive Report Column• Interactive Report Column Group• Item Label Template• List Entries• List Template• List of Values Entries

• Messages • Navigation Bar• Page Button• Page Computation• Page Definition• Page Item• Page Item Help• Page Processing• Page Validation• Parent Tab• Plugin• Plugin Attribute• Plugin Attribute Value• Plugin Event• PopUp LOV Template• Region• Region Template• Report Template• Shortcut• Tab• Template (general)

as in WWV_FLOW_TRANSLATABLE_COLS$

Dienstag, 22. März 2011

Page 11: click-click IT Solutions - nlOUG ·  ... • Navigation Bar ... • unclear status of translation progress Dienstag, 22. März 2011

© c

lick-

clic

k IT

Sol

utio

ns

Text Messages

Dienstag, 22. März 2011

Page 12: click-click IT Solutions - nlOUG ·  ... • Navigation Bar ... • unclear status of translation progress Dienstag, 22. März 2011

© c

lick-

clic

k IT

Sol

utio

ns

Dynamic Translations

Dienstag, 22. März 2011

Page 13: click-click IT Solutions - nlOUG ·  ... • Navigation Bar ... • unclear status of translation progress Dienstag, 22. März 2011

© c

lick-

clic

k IT

Sol

utio

ns

4000

4001

4002

4003

APEX Concept

Main and Shadow

ApplicationDienstag, 22. März 2011

Page 14: click-click IT Solutions - nlOUG ·  ... • Navigation Bar ... • unclear status of translation progress Dienstag, 22. März 2011

© c

lick-

clic

k IT

Sol

utio

ns

Example

Dienstag, 22. März 2011

Page 15: click-click IT Solutions - nlOUG ·  ... • Navigation Bar ... • unclear status of translation progress Dienstag, 22. März 2011

© c

lick-

clic

k IT

Sol

utio

ns

Example

Dienstag, 22. März 2011

Page 16: click-click IT Solutions - nlOUG ·  ... • Navigation Bar ... • unclear status of translation progress Dienstag, 22. März 2011

© c

lick-

clic

k IT

Sol

utio

ns

Define Language

Shared Components > Globalization Attributes

Hint: Use Application Preference, Item Preference or Session to let the user choose.

Dienstag, 22. März 2011

Page 17: click-click IT Solutions - nlOUG ·  ... • Navigation Bar ... • unclear status of translation progress Dienstag, 22. März 2011

© c

lick-

clic

k IT

Sol

utio

ns

Translation ProcessShared Components > Translate

Dienstag, 22. März 2011

Page 18: click-click IT Solutions - nlOUG ·  ... • Navigation Bar ... • unclear status of translation progress Dienstag, 22. März 2011

© c

lick-

clic

k IT

Sol

utio

ns

4000

4001

4002

4003

APEX Concept

Main and Shadow

ApplicationDienstag, 22. März 2011

Page 19: click-click IT Solutions - nlOUG ·  ... • Navigation Bar ... • unclear status of translation progress Dienstag, 22. März 2011

© c

lick-

clic

k IT

Sol

utio

ns

Language-Mapping

Hint: Main Application-ID * 100+ consecutive No

Must not end in Zero (used on the right side of the decimal point)

WWV_FLOW_LANGUAGE_MAP$

Dienstag, 22. März 2011

Page 20: click-click IT Solutions - nlOUG ·  ... • Navigation Bar ... • unclear status of translation progress Dienstag, 22. März 2011

© c

lick-

clic

k IT

Sol

utio

ns

Translation ProcessShared Components > Translate

Dienstag, 22. März 2011

Page 21: click-click IT Solutions - nlOUG ·  ... • Navigation Bar ... • unclear status of translation progress Dienstag, 22. März 2011

© c

lick-

clic

k IT

Sol

utio

ns

Seed Translatable Text

Seed copies all Text Strings into a Translation tableWWV_FLOW_TRANSLATABLE_TEXT$

Dienstag, 22. März 2011

Page 22: click-click IT Solutions - nlOUG ·  ... • Navigation Bar ... • unclear status of translation progress Dienstag, 22. März 2011

© c

lick-

clic

k IT

Sol

utio

ns

Translation ProcessShared Components > Translate

Dienstag, 22. März 2011

Page 23: click-click IT Solutions - nlOUG ·  ... • Navigation Bar ... • unclear status of translation progress Dienstag, 22. März 2011

© c

lick-

clic

k IT

Sol

utio

ns

Export XLIFF

“All translatable elements” = Source<>Target

Dienstag, 22. März 2011

Page 24: click-click IT Solutions - nlOUG ·  ... • Navigation Bar ... • unclear status of translation progress Dienstag, 22. März 2011

© c

lick-

clic

k IT

Sol

utio

ns

Export XLIFF

Dienstag, 22. März 2011

Page 25: click-click IT Solutions - nlOUG ·  ... • Navigation Bar ... • unclear status of translation progress Dienstag, 22. März 2011

© c

lick-

clic

k IT

Sol

utio

ns

Export XLIFF

S = UI TextT = Text MessageD = Dynamic Translation

ID of the Metadata table

Record-ID

Application-ID

Dienstag, 22. März 2011

Page 26: click-click IT Solutions - nlOUG ·  ... • Navigation Bar ... • unclear status of translation progress Dienstag, 22. März 2011

© c

lick-

clic

k IT

Sol

utio

ns

Translation ProcessShared Components > Translate

Dienstag, 22. März 2011

Page 27: click-click IT Solutions - nlOUG ·  ... • Navigation Bar ... • unclear status of translation progress Dienstag, 22. März 2011

© c

lick-

clic

k IT

Sol

utio

ns

XLIFF Editor

Dienstag, 22. März 2011

Page 28: click-click IT Solutions - nlOUG ·  ... • Navigation Bar ... • unclear status of translation progress Dienstag, 22. März 2011

© c

lick-

clic

k IT

Sol

utio

ns

XLIFF Editor

Dienstag, 22. März 2011

Page 29: click-click IT Solutions - nlOUG ·  ... • Navigation Bar ... • unclear status of translation progress Dienstag, 22. März 2011

© c

lick-

clic

k IT

Sol

utio

ns

XLIFF 1.2

Dienstag, 22. März 2011

Page 30: click-click IT Solutions - nlOUG ·  ... • Navigation Bar ... • unclear status of translation progress Dienstag, 22. März 2011

© c

lick-

clic

k IT

Sol

utio

ns

Manually Edit

Dienstag, 22. März 2011

Page 31: click-click IT Solutions - nlOUG ·  ... • Navigation Bar ... • unclear status of translation progress Dienstag, 22. März 2011

© c

lick-

clic

k IT

Sol

utio

ns

Translation ProcessShared Components > Translate

Dienstag, 22. März 2011

Page 32: click-click IT Solutions - nlOUG ·  ... • Navigation Bar ... • unclear status of translation progress Dienstag, 22. März 2011

© c

lick-

clic

k IT

Sol

utio

ns

Upload XLIFF

Dienstag, 22. März 2011

Page 33: click-click IT Solutions - nlOUG ·  ... • Navigation Bar ... • unclear status of translation progress Dienstag, 22. März 2011

© c

lick-

clic

k IT

Sol

utio

ns

Translation ProcessShared Components > Translate

Dienstag, 22. März 2011

Page 34: click-click IT Solutions - nlOUG ·  ... • Navigation Bar ... • unclear status of translation progress Dienstag, 22. März 2011

© c

lick-

clic

k IT

Sol

utio

ns

Publish Application

Dienstag, 22. März 2011

Page 35: click-click IT Solutions - nlOUG ·  ... • Navigation Bar ... • unclear status of translation progress Dienstag, 22. März 2011

© c

lick-

clic

k IT

Sol

utio

ns

Pitfalls

Dienstag, 22. März 2011

Page 36: click-click IT Solutions - nlOUG ·  ... • Navigation Bar ... • unclear status of translation progress Dienstag, 22. März 2011

© c

lick-

clic

k IT

Sol

utio

ns

Pitfalls

• changing the Application ID

• “Loosing” the Translation Table (e.g. moving to another development environment)

• ongoing changes in the main application

• damaged XLIFF Structure (Texteditor)

• Problem with string length due to multibyte Characters

Dienstag, 22. März 2011

Page 37: click-click IT Solutions - nlOUG ·  ... • Navigation Bar ... • unclear status of translation progress Dienstag, 22. März 2011

© c

lick-

clic

k IT

Sol

utio

ns

Pitfalls

• Seed loads Text strings which aren’t ment for translation (but can possibly be changed by manual edit)

• Seed overwrites target text when source text is changed (correct typo).

• “Translating in the dark” without Context

• unclear status of translation progress

Dienstag, 22. März 2011

Page 38: click-click IT Solutions - nlOUG ·  ... • Navigation Bar ... • unclear status of translation progress Dienstag, 22. März 2011

© c

lick-

clic

k IT

Sol

utio

ns

Alternatives?

Dienstag, 22. März 2011

Page 39: click-click IT Solutions - nlOUG ·  ... • Navigation Bar ... • unclear status of translation progress Dienstag, 22. März 2011

© c

lick-

clic

k IT

Sol

utio

ns

ApexTrans

• Metadaten selbst bearbeiten

Dienstag, 22. März 2011

Page 40: click-click IT Solutions - nlOUG ·  ... • Navigation Bar ... • unclear status of translation progress Dienstag, 22. März 2011

© c

lick-

clic

k IT

Sol

utio

ns

ApexTrans

• Metadaten selbst bearbeiten

Dienstag, 22. März 2011

Page 41: click-click IT Solutions - nlOUG ·  ... • Navigation Bar ... • unclear status of translation progress Dienstag, 22. März 2011

© c

lick-

clic

k IT

Sol

utio

ns

ApexTrans

• Metadaten selbst bearbeiten

Dienstag, 22. März 2011

Page 42: click-click IT Solutions - nlOUG ·  ... • Navigation Bar ... • unclear status of translation progress Dienstag, 22. März 2011

© c

lick-

clic

k IT

Sol

utio

ns

ApexTrans

• Metadaten selbst bearbeiten

Dienstag, 22. März 2011

Page 43: click-click IT Solutions - nlOUG ·  ... • Navigation Bar ... • unclear status of translation progress Dienstag, 22. März 2011

© c

lick-

clic

k IT

Sol

utio

ns

ApexTrans

• Integrated in development cycle

• Automatic Translations

• Context - where is this text displayed?

• Status of the translation progress

• No XLIFF

• soon at: http://www.click-click.at

Dienstag, 22. März 2011

Page 44: click-click IT Solutions - nlOUG ·  ... • Navigation Bar ... • unclear status of translation progress Dienstag, 22. März 2011

© c

lick-

clic

k IT

Sol

utio

ns

Peter Raganitschclick-click IT Solutions

Elisenstrasse 23A-1230 Wien

[email protected]://www.click-click.at

http://www.oracle-and-apex.comhttp://apexlib.oracleapex.info

Dienstag, 22. März 2011