po4a | Maintain the translations of your documentation with ease
kandi X-RAY | po4a Summary
kandi X-RAY | po4a Summary
The goal of po4a (PO for anything) project is to ease translations (and more interestingly, the maintenance of translations) using gettext tools on areas where they were not expected like documentation.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of po4a
po4a Key Features
po4a Examples and Code Snippets
Community Discussions
Trending Discussions on po4a
QUESTION
So I have been trialling Weblate using Docker, and pointing it at a Git repo with some .md
files I want to localize. I believe a good way of doing this is to use po4a
to first convert the .md
(basically text) files to a Gettext .pot
file then import these as individual components.
My main aim is to make the process as automated as possible but so far it looks like the steps will be something like this:
- Convert from
.md
to.pot
usingpo4a-getextize
- Copy
.pot
file to.en.po
file - Commit both files
- Create new Component for this file in Weblate, manually putting in the name of the '.pot' file
- Add new languages to translate this Component to
- Wait for translators to do their thing
- Download all
.po
files - Convert back to original format with
po4a-translate
Feels like I'm missing something with the way Weblate creates components... or how the .pot
& .po
files work together... ideally I'd like to automatically pick up and create Components when .pot
file appear in the repo, then just set up some scripts outside Weblate to automate the conversion to/from the different file formats.
ANSWER
Answered 2020-Jan-11 at 06:36You can use component discovery or API to automatically create the components.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install po4a
If you want to use a version without installing it (e.g. directly from the git tree), use the PERLLIB environment variable as such:.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page