[uf-discuss] hCards in other languages

Paul Wilkins paul_wilkins at xtra.co.nz
Sat Mar 24 02:32:41 PST 2007


Justin Mclean wrote:
> Hi there,
> 
> I have a simple site (http://www.classsoftware.com) on which I've  added 
> a vCard, the card seems to work fine in Operator (firefox  plugin) but 
> in the Japanese version of the page (http:// 
> www.classsoftware.com/index.cfm/lang/ja) with exactly the same XHTML  
> structure the imported card is missing the org name and my name. Is  
> something wrong with the hCard on the page or is it an issue with  
> Operator?

Works for me on Operator 0.6.2 and on X2V at http://suda.co.uk/projects/X2V/

> Also what is the best way to mark up a hCard when the content of the  
> card is in an langauge other than english? Do you need to specify the  
> language used in the card (lang attribute on the card's container) or  
> is the language of the of HTML page (the lang attribute on the html  
> tag) good enough?

Yes, that's good enough. The only difficulty is when english text is 
expected as keywords, and you want them displayed in another language 
instead. Then you'd have to do something like

<abbr class="type" title="fax">fakusu</abbr>

-- 
Paul Wilkins


More information about the microformats-discuss mailing list