New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

asciidoctor-gettext

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

asciidoctor-gettext

gettext/po string extraction tool for asciidoc documents

  • 1.3.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

asciidoctor-gettext

Build Status Coverage Status npm version License: MIT

gettext/po string extraction tool for asciidoc documents.

  • Uses asciidoctor.js as parser.
  • Uses gettext-parser as .po generator.

Extracting

Basic example

$ asciidoctor-gettext gettextize -m path/to/master.adoc -p output.pot 

This will extract all texts from master.adoc and create output.pot.

Injecting Translations

Basic example

$ asciidoctor-gettext translate -m path/to/master.adoc -p dutch.po -l output.adoc

This will create output.adoc, taking master.adoc and rewriting all localizable strings using the given .po file. Note that the resulting output document may be marked up slightly different compared to the input document. However, when transforming it .html (using asciidoctor itself) the output should be formatted the identically as the original.

Keywords

FAQs

Package last updated on 31 Oct 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc