aboutsummaryrefslogtreecommitdiff
path: root/doc/plugins/po.mdwn
Commit message (Collapse)AuthorAge
* oddityJoey Hess2009-07-21
|
* one issue with basewiki translationsJoey Hess2009-07-21
|
* po: Add support for mo files in underlaysJoey Hess2009-07-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* build translated underlays for use with non-English wikisJoey Hess2009-07-20
|
* create translated underlays in mdwn formatJoey Hess2009-07-20
| | | | | | 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.
* more thoughts on underlaysJoey Hess2009-07-20
|
* update, think I have the real bug this timeJoey Hess2009-07-20
|
* %links dedup bug?Joey Hess2009-07-19
|
* bad po plugin bugJoey Hess2009-07-19
|
* language display orderJoey Hess2009-07-19
|
* shut up msgmergeJoey Hess2009-07-19
|
* new minor bugJoey Hess2009-07-19
|
* bugfix: Avoid generating po files for files that are not httmlizableJoey Hess2009-07-19
|
* add a bugJoey Hess2009-07-19
|
* s/castellano/español/Joey Hess2009-07-19
|
* move robustness tests section to discussionJoey Hess2009-07-19
|
* fix linkJoey Hess2009-07-19
|
* page.tmpl: use OTHERLANGUAGES and PERCENTTRANSLATEDintrigeri2009-03-28
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* link changesJoey Hess2009-03-27
|
* po/todo: drop a note about my meta-po branchintrigeri2009-01-27
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po/todo: take note of the commit that will need to be reverted laterintrigeri2009-01-27
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po: remove all dependencies on nicepagetitleintrigeri2009-01-27
| | | | | | | | | | | | | ... 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>
* po: make the "backlinks involve dependencies" feature optionalintrigeri2009-01-27
| | | | | | It can now be configured with the po_strictly_refresh_backlinks setting. Signed-off-by: intrigeri <intrigeri@boum.org>
* plugins/po: talk about the po4a version in the first linesintrigeri2009-01-26
| | | | | | ... as it seems it can be missed if I keep it only in the security section. Signed-off-by: intrigeri <intrigeri@boum.org>
* po(doc): moved security analysis to its own pageintrigeri2009-01-17
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po: when possible, disable use of Text::WrapI18N in po4a; else warn about ↵intrigeri2009-01-16
| | | | | | too old po4a Signed-off-by: intrigeri <intrigeri@boum.org>
* po(todo): more test resultsintrigeri2009-01-15
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po: pages in underlay dirs are not translatableintrigeri2009-01-15
| | | | | | Fixes build break due to read-only underlay dirs, e.g. basewiki. Signed-off-by: intrigeri <intrigeri@boum.org>
* po/todo: some testing resultsintrigeri2009-01-15
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po: more security-related reportsintrigeri2009-01-15
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po/todo: updateintrigeri2009-01-02
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po/todo: updateintrigeri2009-01-02
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po(formbuilder_setup): remove the rename/remove buttons on slave pagesintrigeri2009-01-02
| | | | | | | | | | 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>
* po/todo: updateintrigeri2009-01-02
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po/todo: remove silly ideas.intrigeri2009-01-02
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po: do not allow to create pages of type pointrigeri2009-01-02
| | | | | | | | 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>
* po/todo: added better implementation ideasintrigeri2009-01-02
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po/todo: remove completed itemintrigeri2009-01-02
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po/todo: added bugreport about new page's typeintrigeri2009-01-02
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po/todo: updateintrigeri2009-01-01
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po(cansave): check PO validity using new isvalidpo functionintrigeri2009-01-01
| | | | | | | ... because Po4a's parser does not care about malformed PO data. Use gettext's msgfmt program instead. Signed-off-by: intrigeri <intrigeri@boum.org>
* po(TODO): the plugin code will need to be gettextized, at some pointintrigeri2009-01-01
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po: use the new canrename hook to prevent translation renames in the CGIintrigeri2009-01-01
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po(todo): test results for markup languages support, thoughts about ↵intrigeri2009-01-01
| | | | | | renaming/deleting Signed-off-by: intrigeri <intrigeri@boum.org>
* po: added postscan hook, to make pages depend on the pages linking to themintrigeri2009-01-01
| | | | | | | | | | | | | | | | | | ... 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>
* po/todo: reflect current link-related work statusintrigeri2008-12-31
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po/todo: reflect current status of links-related workintrigeri2008-12-31
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po: fix redirect after edit, using a somehow tricky hackintrigeri2008-12-31
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po: delete translations of deleted master pagesintrigeri2008-12-31
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>
* po/todo: added test resultsintrigeri2008-11-13
| | | | Signed-off-by: intrigeri <intrigeri@boum.org>