Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

packaging: xml2po is deprecated #149

Open
kenhys opened this issue Dec 23, 2021 · 3 comments
Open

packaging: xml2po is deprecated #149

kenhys opened this issue Dec 23, 2021 · 3 comments

Comments

@kenhys
Copy link
Contributor

kenhys commented Dec 23, 2021

Problem

xml2po is used for generating documentation.
But, it is not packaged in Debian. (removed from bullseye or later)
because of xml2po is not supported python3.

Actual

It is a blocker to update .pot.

po2xml doesn't support multiple xml files as a input, so it does not provide equivalent functionality.

po4a may work, but not tested.

https://www.slideshare.net/nabetaro/po-7177145

Expected

migrate xml2po to alternative one.

@kenhys
Copy link
Contributor Author

kenhys commented Jan 5, 2022

pot generating process will be replaced by:

  • generate .am file which includes repeated --master foo.xml
  • includes above .am from Makefile.am
  • Use po4a-gettextize with `--format xml -p milter-manager.pot --master xxxx

@kenhys
Copy link
Contributor Author

kenhys commented Jan 5, 2022

update-po target will be replaced by:

  • Execute po4a-updatepo --format xml --po ja.po --master....

@kenhys
Copy link
Contributor Author

kenhys commented Jan 5, 2022

html-ja-build.stamp target will be replaced by:

po4a-translate --keep --format xml .... --localized

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant