summaryrefslogtreecommitdiff
path: root/doc/plugins/po.mdwn
AgeCommit message (Collapse)Author
2009-07-21oddityJoey Hess
2009-07-21one issue with basewiki translationsJoey Hess
2009-07-21po: Add support for mo files in underlaysJoey Hess
In order to support translated basewiki and other underlays, we need support for mo files in underlays. The code did not allow this before, because if a mo file was in an underlay, then it might try to update it, and its pot, and write to the underlay, which is guaranteed to either fail due to permissions, or be undesirable. To fix, my approach is to just detect if a mo or pot file that is about to be updated is in an underlay, and skip updating it. This seems to work well: - If the mo is out of date in the underlay, it won't get updated, but this would probably be due to a problem in the underlay, or more likely, the wiki is being rebuilt and so it *thinks* the mo is out of date, but it's really not (and it would be a waste of time to rebuild it anyway). - If a page from the basewiki is edited, it is saved to the srcdir, which causes generation of an updated mo and pot also in the srcdir; the underlay stops being used for that page, and everything seems to work. Note that I am not including an underlay search directory for pot files. They *seem* to be unnecessary for the underlay, since the mo files in there never need to be updated.
2009-07-20build translated underlays for use with non-English wikisJoey Hess
2009-07-20create translated underlays in mdwn formatJoey Hess
These are for use by wikis where the primary language is not English. On such a wiki, it makes sense to use an underlay has the source for pages in the native language.
2009-07-20more thoughts on underlaysJoey Hess
2009-07-20update, think I have the real bug this timeJoey Hess
2009-07-19%links dedup bug?Joey Hess
2009-07-19bad po plugin bugJoey Hess
2009-07-19language display orderJoey Hess
2009-07-19shut up msgmergeJoey Hess
2009-07-19new minor bugJoey Hess
2009-07-19bugfix: Avoid generating po files for files that are not httmlizableJoey Hess
2009-07-19add a bugJoey Hess
2009-07-19s/castellano/español/Joey Hess
2009-07-19move robustness tests section to discussionJoey Hess
2009-07-19fix linkJoey Hess
2009-03-28page.tmpl: use OTHERLANGUAGES and PERCENTTRANSLATEDintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-03-27link changesJoey Hess
2009-01-27po/todo: drop a note about my meta-po branchintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-27po/todo: take note of the commit that will need to be reverted laterintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-27po: remove all dependencies on nicepagetitleintrigeri
... as my meta branch probably won't be merged before the po plugin is, contrary to what I was originally supposing. This implies removing the po_translation_status_in_links and po_strictly_refresh_backlinks options. Added a note to the TODO section to think of bringing these features back later, as they really enhance user experience on a translatable wiki. Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-27po: make the "backlinks involve dependencies" feature optionalintrigeri
It can now be configured with the po_strictly_refresh_backlinks setting. Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-26plugins/po: talk about the po4a version in the first linesintrigeri
... as it seems it can be missed if I keep it only in the security section. Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-17po(doc): moved security analysis to its own pageintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-16po: when possible, disable use of Text::WrapI18N in po4a; else warn about ↵intrigeri
too old po4a Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-15po(todo): more test resultsintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-15po: pages in underlay dirs are not translatableintrigeri
Fixes build break due to read-only underlay dirs, e.g. basewiki. Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-15po/todo: some testing resultsintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-15po: more security-related reportsintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-02po/todo: updateintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-02po/todo: updateintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-02po(formbuilder_setup): remove the rename/remove buttons on slave pagesintrigeri
This has to be done after the rename/remove plugins have added their buttons, so we set this hook to be run last. The canrename/canremove hooks already ensure this is forbidden at the backend level, so this is only UI sugar. Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-02po/todo: updateintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-02po/todo: remove silly ideas.intrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-02po: do not allow to create pages of type pointrigeri
The main reason to do so is to bypass the "favor the type of linking page on page creation" logic, which is unsuitable when a broken link is clicked on a slave (PO) page. Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-02po/todo: added better implementation ideasintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-02po/todo: remove completed itemintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-02po/todo: added bugreport about new page's typeintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01po/todo: updateintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01po(cansave): check PO validity using new isvalidpo functionintrigeri
... because Po4a's parser does not care about malformed PO data. Use gettext's msgfmt program instead. Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01po(TODO): the plugin code will need to be gettextized, at some pointintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01po: use the new canrename hook to prevent translation renames in the CGIintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01po(todo): test results for markup languages support, thoughts about ↵intrigeri
renaming/deleting Signed-off-by: intrigeri <intrigeri@boum.org>
2009-01-01po: added postscan hook, to make pages depend on the pages linking to themintrigeri
... so that nicepagetitle hook's effects, such as translation status displayed in links, are updated when the linked page changes. The replacement of 'my %backlinks' with 'our %backlinks' in Render.pm made this work: previously, every postscan hook was called with an almost empty %backlinks, which defeated all my attempts to implement this feature. This feature hits performance a bit. Its cost was quite small in my real-world use-cases (a few percents bigger refresh time), but could be bigger in worst cases. Time will tell. NB: this hack could also be used by my meta branch. It may even be a ikiwiki optional feature. Signed-off-by: intrigeri <intrigeri@boum.org>
2008-12-31po/todo: reflect current link-related work statusintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-12-31po/todo: reflect current status of links-related workintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-12-31po: fix redirect after edit, using a somehow tricky hackintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-12-31po: delete translations of deleted master pagesintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2008-11-13po/todo: added test resultsintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>