High Performance Information Systems Laboratory University of Patras – School of Engineering Department of Computer Engineering & Informatics Enabling.

Slides:



Advertisements
Similar presentations
An Overview of the Integration of the UCSF Dept. of Radiology Teaching File with MIRC Wyatt M. Tellis University of California San Francisco Departments.
Advertisements

IRRA DSpace April 2006 Claire Knowles University of Edinburgh.
Business Development Suit Presented by Thomas Mathews.
JavaScript FaaDoOEngineers.com FaaDoOEngineers.com.
 Copyright Wipro Technologies JSP Ver 1.0 Page 1 Talent Transformation Java Server Pages.
Servlets and a little bit of Web Services Russell Beale.
Dspace – Digital Repository Dawn Petherick, University Web Services Team Manager Information Services, University of Birmingham MIDESS Dissemination.
Web Page Behavior IS 373—Web Standards Todd Will.
DT228/3 Web Development JSP: Directives and Scripting elements.
Java Server Pages Russell Beale. What are Java Server Pages? Separates content from presentation Good to use when lots of HTML to be presented to user,
4.01B Authoring Languages and Web Authoring Software 4.01 Examine webpage development and design.
Tutorial 6 Forms Section A - Working with Forms in JavaScript.
2440: 141 Web Site Administration Web Server-Side Programming Professor: Enoch E. Damson.
How the World Wide Web Works
UNIT-V The MVC architecture and Struts Framework.
CST JavaScript Validating Form Data with JavaScript.
Digital Object: A Virtual Online Storage Solution 598C Course Project Huajing Li.
1 ADVANCED MICROSOFT WORD Lesson 15 – Creating Forms and Working with Web Documents Microsoft Office 2003: Advanced.
Chapter 3. Table have many uses in a HTML design but are mostly used for the organization of your web site. Tables also give vertical and horizontal structure.
Advance Database Management Systems Lab no. 5 PHP Web Pages.
Reading Data in Web Pages tMyn1 Reading Data in Web Pages A very common application of PHP is to have an HTML form gather information from a website's.
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Web technologies: HTTP, CGI, PHP,Java applets)
1 Creating Web Forms in HTML Web forms collect information from customers Web forms include different control elements including: –Input boxes –Selection.
Chapter 6: Forms JavaScript - Introductory. Previewing the Product Registration Form.
OhioLINK DRC Input Forms Workshop Linda Newman Digital Projects Coordinator University of Cincinnati Libraries
XHTML Introductory1 Forms Chapter 7. XHTML Introductory2 Objectives In this chapter, you will: Study elements Learn about input fields Use the element.
Chapter 16 The World Wide Web. 2 The Web An infrastructure of information combined and the network software used to access it Web page A document that.
Dspace 1 Introduction to DSpace Mukesh Pund Scientist NISCAIR, New Delhi.
Tutorial 1 Getting Started with Adobe Dreamweaver CS3
Internationalization and the Java Stack Matt Wheeler.
Chapter 17 - Deploying Java Applications on the Web1 Chapter 17 Deploying Java Applications on the Web.
1 XML as a preservation strategy Experiences with the DiVA document format Eva Müller, Uwe Klosa Electronic Publishing Centre Uppsala University Library,
IUScholarWorks is a set of services to make the work of IU scholars freely available. Allows IU departments, institutes, centers and research units to.
Section 17.1 Add an audio file using HTML Create a form using HTML Add text boxes using HTML Add radio buttons and check boxes using HTML Add a pull-down.
XML Registries Source: Java TM API for XML Registries Specification.
Collection as the Cornerstone of Presented by Sara Bishop, Administrative Systems Development West Virginia University Office of Information Technology.
Introduction to JavaServer Pages. 2 JSP and Servlet Limitations of servlet  It’s inaccessible to non-programmers JSP is a complement to servlet  focuses.
Chapter 6 Server-side Programming: Java Servlets
FlexElink Winter presentation 26 February 2002 Flexible linking (and formatting) management software Hector Sanchez Universitat Jaume I Ing. Informatica.
ITCS373: Internet Technology Lecture 5: More HTML.
IBISAdmin Utah’s Web-based Public Health Indicator Content Management System.
Copenhagen, 6 June 2006 EC CHM Multilinguality Anton Cupcea Finsiel Romania.
Copyright © 2002 ProsoftTraining. All rights reserved. JavaServer Pages.
IUScholarWorks Technical Overview Randall Floyd Digital Library Program Programmer/Database Administrator.
This presentation describes the development and implementation of WSU Research Exchange, a permanent digital repository system that is being, adding WSU.
Building a Topic Map Repository Xia Lin Drexel University Philadelphia, PA Jian Qin Syracuse University Syracuse, NY * Presented at Knowledge Technologies.
CSUN eCommons Submitting Learning Objects to CSUN eCommons: A Preliminary Guide February 7, 2008.
CS562 Advanced Java and Internet Application Introduction to the Computer Warehouse Web Application. Java Server Pages (JSP) Technology. By Team Alpha.
JAVA BEANS JSP - Standard Tag Library (JSTL) JAVA Enterprise Edition.
DSpace - Digital Library Software
©SoftMooreSlide 1 Introduction to HTML: Forms ©SoftMooreSlide 2 Forms Forms provide a simple mechanism for collecting user data and submitting it to.
4.01B Authoring Languages and Web Authoring Software 4.01 Examine webpage development and design.
DSpace System Architecture 11 July 2002 DSpace System Architecture.
Week 10: HTML Forms HNDIT11062 – Web Development.
Chapter 3 JSP Overview. The Problem with Servlets processing the request and generating the response are both handled by a single servlet class Java programming.
The library is open Digital Assets Management & Institutional Repository Russian-IUG November 2015 Tomsk, Russia Nabil Saadallah Manager Business.
Java Programming: Advanced Topics 1 Building Web Applications Chapter 13.
10 Copyright © 2004, Oracle. All rights reserved. Building ADF View Components.
07/09/07 1 DSpace: Make it you own Documentation Research and Training Centre Indian Statistical Institute Bangalore Biswanath Dutta
introductionwhyexamples What is a Web site? A web site is: a presentation tool; a way to communicate; a learning tool; a teaching tool; a marketing important.
HTML III (Forms) Robin Burke ECT 270. Outline Where we are in this class Web applications HTML Forms Break Forms lab.
A Presentation Presentation On JSP On JSP & Online Shopping Cart Online Shopping Cart.
Breeda Herlihy, IR Manager, UCC Library. UCC selected DSpace in 2008 Software selection group Staff from Library IT, Computer Centre, Special Collections,
Creating and Processing Web Forms
JSP (Java Server Page) JSP is server side technology which is used to create dynamic web pages just like Servlet technology. This is mainly used for implementing.
Internationalization
Objectives Design a form Create a form Create text fields
Introduction to DSpace
SDMX IT Tools SDMX Registry
Presentation transcript:

High Performance Information Systems Laboratory University of Patras – School of Engineering Department of Computer Engineering & Informatics Enabling Multilingualism and I18N in DSpace Dimitrios Koutsomitropoulos

Upatras Institutional Repository A means to communicate and disseminate institution’s research and educational outcome University of Patras O.P. “Education” project  Departmental Actions  Central Support Actions  Repository: “4 th Action for Centralized Support of the Educational Process”

DSpace Solution Open source Clear metadata scheme support (DC) Enhanced search capability Interoperability: XML and OAI Extensible “Preservation-ready” Unicode

The need for multilingualism Contractual need for bilingualism (Greek & English)  Interface (now in DSpace 1.3 alpha)  Search & Browse  Metadata  Item Viewing  Dynamic switch between languages Why not multilingualism?

I18Ning DSpace Interface General Approach  Java I18N branch DSpace Java/JSP application model  JSTL fmt Seamless integration with JSPs Supports 2 or n languages indifferently 1 st level: Separate text from presentation  Voluminous! 2 nd level: Separate text from business logic  Hard! (to discover and implement)

Separating text from presentation 1.Substitute every HTML word and phrase in JSPs with tags 2.Gather all text in a Resource Bundle text file (Messages_en.properties)  Key-value pairs 3.Translate the Bundle to any language!  May need to pass through native2ascii tool first

Example (excerpt from home.jsp) " > Search Enter some text in the box below to search DSpace. Before: After:

Separating text from business logic Need to identify text hardcoded in jsp variables, servlets and classes, e.g:  Location Bar administer, my dspace…  Browse pages the header title changes based on browsing scope  Input and submit button values written in servlets Select E-Person, ItemMap  Month names Greek not yet supported in the default java I18N bundle  Vocabularies Submit Types list

Separating text from business logic (contd.) Approach:  Use of Expression Language (EL) To set EL string variables based on fmt tags  DSpace tags parameters now values (previously only strings)  Construct arrays of strings for vocabularies ListResourceBundle  Use LocaleSupport (javax.servlet.jsp.jstl.fmt) or BundleSupport (org.apache.taglibs.standard.tag.common.fmt) to “sense” and retrieve current locale

Setting the Locale Override browser’s default by submitting a “locale” parameter  At any point – dynamic change Causes page reload: Context may be lost!  Re-post variables along with locale May not always work  After deletions / additions (exception)  Deactivated under admin, tools and submit paths

Search & Browse Text stored in PostgreSQL as Unicode (default)  Lucene tested to work with Greek  Text extraction tool also works Search strings over URL:  URIEncoding=“UTF-8” (Tomcat server.xml) Sorting  LC_COLLATE = en_US.UTF-8  LC_CTYPE = en_US.UTF-8  Only during initdb !

Multilingual Metadata Storage Layer  Ready!  item.addDC (element, qualifier, lang, value) Interface Layer (Submission process)  Pull-down lang menu for each input  Use “add more” button  Types: submit only type code (e.g. 1, 2…) but store multiple text values in every lang  Languages: submit and store ISO code  Review process

Item View Depending on selected language (not current interface locale)  Main title displayed in any case  Other elements displayed based on their lang qualifier  Elements without a lang qualifier displayed anyway  Item tag now accepts a lang parameter

“Multilingual” Items, Communities and Collections Multilingual Content approach:  Different com-col taxonomies (parallel translations)  Store items based on their content language  Map items between cols when multilingual Add another file in the bundle… …or language independent (e.g. an image)  Content language based Search language.iso field now indexed

“Multilingual” Items, Communities and Collections (contd.) Pros  No need for multilingual col and com names Would require schema change Cons  Strenuous maintenance Use of Item map tool (authorization) Maintain consistency between collections

Other pieces News  Messages now reside in resource bundles  Can be altered by news-edit tool Monolingual only! License  Duplicate text Mails  Duplicate text  Parameterized text deeply hardcoded Not yet resolved!

Current and future progress HTML text I18N incorporated in DSpace 1.3 alpha Now a I18N wiki spin-off has been initiated  Parameterized keys (Jozsef Marton) Idea: Locale to be implemented as a org.dspace.core.Context field  Independent and globally accessible Upatras Institutional Repository (demo) 