Opened 13 years ago
Closed 13 years ago
#9043 closed defect (fixed)
TranslatedPagesMacro can't work with 0.12?
Reported by: | Owned by: | Zhang Cong | |
---|---|---|---|
Priority: | normal | Component: | TranslatedPagesMacro |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 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?
don't be parsed. |
---|
waiting for you help, thanks in advance.
Attachments (0)
Change History (6)
comment:1 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 follow-up: 4 Changed 13 years ago by
P.S. Adding [[TranslatedPages(showproblems)]]
to any page and then previewing (no need to save) should tell you what's wrong.
comment:3 Changed 13 years ago by
In [10515] I added a check telling you whether language specification page is correct or not.
comment:4 follow-up: 5 Changed 13 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Replying to stoecker:
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 follow-up: 6 Changed 13 years ago by
Replying to anonymous:
Replying to stoecker:
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 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → 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.