[Piwik-trac] [Piwik] #62: Making piwik translation ready

Piwik trac at piwik.org
Tue Apr 1 00:30:36 CEST 2008


#62: Making piwik translation ready
--------------------+-------------------------------------------------------
  Reporter:  matt   |       Owner:                                                 
      Type:  Task   |      Status:  new                                            
  Priority:  major  |   Milestone:  Stable release                                 
 Component:  Core   |     Version:                                                 
Resolution:         |    Keywords:  i18n translation translate internationalization
--------------------+-------------------------------------------------------
Comment (by matt):

 * +{literal}Last modification time, description and reporter are included
 as hidden fields for useful RSS export.

  why this add?

  * <span><strong>{$nbUniqVisitors}</strong>
 {'VisitsSummary_NbUniqueVisitors'|translate}
  should be
 <span>{'VisitsSummary_NbUniqueVisitors'|translate:"<strong>".$nbUniqVisitors."</strong>"}

  * btw there shouldn't be HTML in translations, except for the <br>

  * your concept of _pk_translate seems quite good, because it makes it
 easy when there are no translations.

  * the commenting on the smarty plugin could include an example of usage
 it would be more easy to understand

  * good job so far. we have to think also about how to make it easy for
 other people to translate piwik, we need a script that reads all the
 strings in all plugins, requests user translations in a nice HTML form,
 saves files in the given plugins. What do you think about it? We can have
 a look at how Facebook translations work.

  PS: sorry for the delay now I should be able to review future code much
 faster :)

-- 
Ticket URL: <http://dev.piwik.org/trac/ticket/62#comment:11>
Piwik <http://piwik.org>
Piwik, open source web analytics software


More information about the Piwik-trac mailing list