This seems to be fixed in the release candidate version (1.1).  See 
http://jsfiddle.net/asgallant/Quz53/1/

On Wednesday, November 20, 2013 3:39:46 PM UTC-5, asgallant wrote:
>
> I take that back: the formatting of the Timeline visualization does not 
> take into account the localization parameters (for any language).
>
> On Wednesday, November 20, 2013 3:36:07 PM UTC-5, asgallant wrote:
>>
>> It looks like the base Portuguese localization ("pt") doesn't work, but 
>> the specific sub-locales do ("pt-pt", "pt-br", etc).  Try one of those.
>>
>> See example here: http://jsfiddle.net/asgallant/Quz53/
>>
>> On Wednesday, November 20, 2013 1:14:17 PM UTC-5, Rodrigo Santiago wrote:
>>>
>>> Hi Everyone, 
>>>
>>> I've tried to put one chart timeline in my page and i've been 
>>> disappointed...
>>>
>>> i'd like to set language to portuguese ('pt') like code below:
>>>
>>> -----------
>>>
>>> <script type="text/javascript" src="https://www.google.com/jsapi
>>> "></script>
>>>
>>> <script type="text/javascript">
>>>   google.load('visualization', '1', {packages: ['timeline'], language: 
>>> 'pt'});
>>> </script>   
>>>
>>> <script type="text/javascript">
>>>
>>> google.setOnLoadCallback(drawChart);
>>> function drawChart() {
>>>   var container = document.getElementById('example2.1');
>>>   var chart = new google.visualization.Timeline(container);
>>>   var dataTable = new google.visualization.DataTable();
>>>   
>>>   dataTable.addColumn({ type: 'string', id: 'Term' });
>>>   dataTable.addColumn({ type: 'string', id: 'Name' });
>>>   dataTable.addColumn({ type: 'date', id: 'Start' });
>>>   dataTable.addColumn({ type: 'date', id: 'End' });
>>>   
>>>   dataTable.addRows([  
>>>  ...data
>>>    ]);
>>>   
>>>   chart.draw(dataTable  );
>>> }
>>> </script>
>>>
>>> ----------
>>>
>>> It seems that my browser is with the correct location (analyzing the 
>>> source code via Chrome Development Tool - Network) but the TimeLine doesn't 
>>> make the right work...the words must to be "Janeiro Fevereiro Março Abril" 
>>> instead of "January February ...."...
>>>
>>> Is the string 'language' enough to build the right location? (Days, 
>>> Months,...)
>>>
>>> Thanks in advance.
>>>
>>>
>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to