Modify

Opened 8 years ago

Closed 6 years ago

#1205 closed enhancement (fixed)

Support for content negotiation, multiple translations of a wiki page

Reported by: thomas@… Owned by: gotoh
Priority: normal Component: Request-a-Hack
Severity: normal Keywords:
Cc: cboos@… Trac Release: 0.10

Description

I'd like to see some sort of support for content negotiation for wiki pages. Based on the Accept-Languages header the browser sends the trac wiki could choose one of several translations of a wiki page, given such translations exist.

Attachments (0)

Change History (4)

comment:1 follow-up: Changed 7 years ago by gotoh

  • Owner changed from anybody to gotoh
  • Status changed from new to assigned

I have it.
I'm using it personaly for a years but it is not in public because
it use very dirty way.
Today, I revised it to use normal plugin mechanism.

I've registered it as TracWikiNegotiatorPlugin
and committed.
Try it.

I've testing on Trac 0.10.
I guess it will work on 0.11 but not tested at all.

comment:2 in reply to: ↑ 1 Changed 7 years ago by thomas@…

  • Type changed from defect to enhancement

Replying to gotoh:

I have it.
I'm using it personaly for a years but it is not in public because
it use very dirty way.
Today, I revised it to use normal plugin mechanism.

I've registered it as TracWikiNegotiatorPlugin
and committed.
Try it.

I've testing on Trac 0.10.
I guess it will work on 0.11 but not tested at all.

Thank you - this is exactly what I was looking for. Works
like a charm on Trac 0.10.3

comment:3 Changed 7 years ago by cboos

  • Cc cboos@… added

comment:4 Changed 6 years ago by martin_s

  • Resolution set to fixed
  • Status changed from assigned to closed

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.