participate


Internationalization (I18N) - Internationalization - quotation marks
This question is not answered.

<<   Back to Forum  |   Give us Feedback
This topic has 1 reply on 1 page.
Takitam
Posts:1
Registered: 10/19/09
Internationalization - quotation marks   
Oct 24, 2009 2:37 PM
 
 
Hi,
How do I internationalize quotation marks?

Example http://img42.imageshack.us/img42/64/quotation.png
 
Joerg22
Posts:1,111
Registered: 6/25/03
Re: Internationalization - quotation marks   
Nov 21, 2009 2:15 PM (reply 1 of 1)  (In reply to original post )
 
 
Java has no internationalization support for quotes, which is understandable as sometimes more than one type of quotes is used in a country (e.g. »...« in Germany).

I see only two ways to handle the task:
1. use two different characters for the initial and ending quote. Before output copy your text(s) to a temporary buffer and replace these characters by the desired quotes (String.replaceAll(...))
2. if you have only few quotes to display, break your text at the quotes and insert a variable which you can set according to your needs.
 
This topic has 1 reply on 1 page.
Back to Forum
 
Read the Developer Forums Code of Conduct

Click to email this message Email this Topic

Edit this Topic
  
 
 
Forums Statistics
    Users Online : 54
  • Guests : 135

About Sun forums
  • Sun Forums is a large collection of user generated discussions. It is here to help you ask questions, find answers, and participate in discussions.

    Check out our guide on Getting started with Sun Forums for a full walkthrough of how to best leverage the benefits of this community.

Powered by Jive Forums