aboutsummaryrefslogtreecommitdiff
path: root/doc/plugins/po.mdwn
Commit message (Expand)AuthorAge
* oddityJoey Hess2009-07-21
* one issue with basewiki translationsJoey Hess2009-07-21
* po: Add support for mo files in underlays•••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. Joey Hess2009-07-21
* build translated underlays for use with non-English wikisJoey Hess2009-07-20
* create translated underlays in mdwn format•••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. Joey Hess2009-07-20
* 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 PERCENTTRANSLATED•••Signed-off-by: intrigeri <intrigeri@boum.org> intrigeri2009-03-28
* link changesJoey Hess2009-03-27
* po/todo: drop a note about my meta-po branch•••Signed-off-by: intrigeri <intrigeri@boum.org> intrigeri2009-01-27
* po/todo: take note of the commit that will need to be reverted later•••Signed-off-by: intrigeri <intrigeri@boum.org> intrigeri2009-01-27
* po: remove all dependencies on nicepagetitle•••... 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> intrigeri2009-01-27
* po: make the "backlinks involve dependencies" feature optional•••It can now be configured with the po_strictly_refresh_backlinks setting. Signed-off-by: intrigeri <intrigeri@boum.org> intrigeri2009-01-27
* plugins/po: talk about the po4a version in the first lines•••... as it seems it can be missed if I keep it only in the security section. Signed-off-by: intrigeri <intrigeri@boum.org> intrigeri2009-01-26
* po(doc): moved security analysis to its own page•••Signed-off-by: intrigeri <intrigeri@boum.org> intrigeri2009-01-17
* po: when possible, disable use of Text::WrapI18N in po4a; else warn about too...•••Signed-off-by: intrigeri <intrigeri@boum.org> intrigeri2009-01-16
* po(todo): more test results•••Signed-off-by: intrigeri <intrigeri@boum.org> intrigeri2009-01-15
* po: pages in underlay dirs are not translatable•••Fixes build break due to read-only underlay dirs, e.g. basewiki. Signed-off-by: intrigeri <intrigeri@boum.org> intrigeri2009-01-15
* po/todo: some testing results•••Signed-off-by: intrigeri <intrigeri@boum.org> intrigeri2009-01-15
* po: more security-related reports•••Signed-off-by: intrigeri <intrigeri@boum.org> intrigeri2009-01-15
* po/todo: update•••Signed-off-by: intrigeri <intrigeri@boum.org> intrigeri2009-01-02
* po/todo: update•••Signed-off-by: intrigeri <intrigeri@boum.org> intrigeri2009-01-02
* po(formbuilder_setup): remove the rename/remove buttons on slave pages•••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> intrigeri2009-01-02
* po/todo: update•••Signed-off-by: intrigeri <intrigeri@boum.org> intrigeri2009-01-02
* po/todo: remove silly ideas.•••Signed-off-by: intrigeri <intrigeri@boum.org> intrigeri2009-01-02
* po: do not allow to create pages of type po•••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> intrigeri2009-01-02
* po/todo: added better implementation ideas•••Signed-off-by: intrigeri <intrigeri@boum.org> intrigeri2009-01-02
* po/todo: remove completed item•••Signed-off-by: intrigeri <intrigeri@boum.org> intrigeri2009-01-02
* po/todo: added bugreport about new page's type•••Signed-off-by: intrigeri <intrigeri@boum.org> intrigeri2009-01-02
* po/todo: update•••Signed-off-by: intrigeri <intrigeri@boum.org> intrigeri2009-01-01
* po(cansave): check PO validity using new isvalidpo function•••... because Po4a's parser does not care about malformed PO data. Use gettext's msgfmt program instead. Signed-off-by: intrigeri <intrigeri@boum.org> intrigeri2009-01-01
* po(TODO): the plugin code will need to be gettextized, at some point•••Signed-off-by: intrigeri <intrigeri@boum.org> intrigeri2009-01-01
* po: use the new canrename hook to prevent translation renames in the CGI•••Signed-off-by: intrigeri <intrigeri@boum.org> intrigeri2009-01-01
* po(todo): test results for markup languages support, thoughts about renaming/...•••Signed-off-by: intrigeri <intrigeri@boum.org> intrigeri2009-01-01
* po: added postscan hook, to make pages depend on the pages linking to them•••... 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> intrigeri2009-01-01
* po/todo: reflect current link-related work status•••Signed-off-by: intrigeri <intrigeri@boum.org> intrigeri2008-12-31
* po/todo: reflect current status of links-related work•••Signed-off-by: intrigeri <intrigeri@boum.org> intrigeri2008-12-31
* po: fix redirect after edit, using a somehow tricky hack•••Signed-off-by: intrigeri <intrigeri@boum.org> intrigeri2008-12-31
* po: delete translations of deleted master pages•••Signed-off-by: intrigeri <intrigeri@boum.org> intrigeri2008-12-31
* po/todo: added test results•••Signed-off-by: intrigeri <intrigeri@boum.org> intrigeri2008-11-13