Zend Framework

character ¿ does not translate

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Not an Issue
  • Affects Version/s: 1.8.1
  • Fix Version/s: 1.8.2
  • Component/s: Zend_Translate
  • Labels:
    None

Description

the spanish opener question mark symbol ¿ does not render

tested by csv file system

here is my plugin for translation:
http://code.google.com/p/nolotiro/source/browse/trunk/library/Nolotiro/Controller/Plugin/Language.php

and the view sample code to apply the translate (line 41):
http://code.google.com/p/nolotiro/source/browse/trunk/application/views/scripts/auth/login.phtml#41

and this is the cvs where the question marks exists (line 39):
http://code.google.com/p/nolotiro/source/browse/trunk/application/languages/es.csv#39

Activity

Hide
Thomas Weidner added a comment -

Please provide a example for reproducation. (CSV file and short code).

Hint:
Rendering is not done by Zend_Translate.

Show
Thomas Weidner added a comment - Please provide a example for reproducation. (CSV file and short code). Hint: Rendering is not done by Zend_Translate.
Hide
Thomas Weidner added a comment -

You know that your csv file is broken ?
CSV standard does not know utf characters.
When you want to use them you need to have them within enclosures, otherwise the result is unexpected.

So you need to do
"my Orig€";"my Translated€"

Show
Thomas Weidner added a comment - You know that your csv file is broken ? CSV standard does not know utf characters. When you want to use them you need to have them within enclosures, otherwise the result is unexpected. So you need to do "my Orig€";"my Translated€"
Hide
Daniel Remeseiro added a comment -

your right! it was my fault, no info about cvs utf complaint on my tutorials, sorry

Show
Daniel Remeseiro added a comment - your right! it was my fault, no info about cvs utf complaint on my tutorials, sorry

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: