Opened 7 years ago

Closed 7 years ago

TranslatedPagesMacro can't work with 0.12?

Reported by: Owned by: jeanvixue@… Zhang Cong normal TranslatedPagesMacro normal 0.12

Description

I install it with trac 0.12 successfully. But when I put the macro in the pages, why no language index box show? I had create the wiki page start with Langauage code such like, Zh_CN:xxx, En:xx. But in the pages xx, nothing happens. Do you have any clue?

As you mentioned, is page named TracLanguages must be exists? If so, how to make first line of the table start with
don't be parsed.

waiting for you help, thanks in advance.

comment:1 Changed 7 years ago by Dirk Stöcker

Resolution: → fixed new → closed

The language box only shows when at least 2 pages exist and the language definition is correct.

So you need the TracLanguages page in any case. Simply copy it, it automatically ignores the header lines and it will also display them correctly on 0.12. It looks only ugly here on this ancient 0.10 installation.

comment:2 follow-up:  4 Changed 7 years ago by Dirk Stöcker

P.S. Adding [[TranslatedPages(showproblems)]] to any page and then previewing (no need to save) should tell you what's wrong.

comment:3 Changed 7 years ago by Dirk Stöcker

In [10515] I added a check telling you whether language specification page is correct or not.

comment:4 in reply to:  2 ; follow-up:  5 Changed 7 years ago by anonymous

Resolution: fixed closed → reopened

P.S. Adding [[TranslatedPages(showproblems)]] to any page and then previewing (no need to save) should tell you what's wrong.

how to handle "Base language is missing for translated pages "? thanks.

comment:5 in reply to:  4 ; follow-up:  6 Changed 7 years ago by anonymous

P.S. Adding [[TranslatedPages(showproblems)]] to any page and then previewing (no need to save) should tell you what's wrong.

I had add parameter showproblems to show the error message. And there is no error(only show none). But I still can't see the Language index box show in the page. Any others clues? thanks

comment:6 in reply to:  5 Changed 7 years ago by anonymous

Resolution: → fixed reopened → closed

P.S. Adding [[TranslatedPages(showproblems)]] to any page and then previewing (no need to save) should tell you what's wrong.

Resolved. sorry for inconvenience. showproblems parament will result in no language box show in the page

Modify Ticket

Change Properties