Locale::Po4a::Yaml - convert YAML files from/to PO files

- NAME
- DESCRIPTION
- OPTIONS ACCEPTED BY THIS MODULE
- SEE ALSO
- AUTHORS
- COPYRIGHT AND LICENSE

# NAME

Locale::Po4a::Yaml - convert YAML files from/to PO files

# DESCRIPTION

Locale::Po4a::Yaml is a module to help the translation of Yaml files into other [human] languages.

The module extracts the value of YAML hashes and arrays. Hash keys are not extracted.

NOTE: This module parses the YAML file with YAML::Tiny.

# OPTIONS ACCEPTED BY THIS MODULE

These are this module's particular options:

keys

  Space-separated list of hash keys to process for extraction, all other keys are skipped. Keys are matched with a case-sensitive match. If paths and keys are used together, values are included if they are matched by at least one of the options. Arrays values are always returned unless the skip_array option is provided.

paths

  Comma-separated list of hash paths to process for extraction, all other paths are skipped. Paths are matched with a case-sensitive match. If paths and keys are used together, values are included if they are matched by at least one of the options. Arrays values are always returned unless the skip_array option is provided.

skip_array

  Do not translate array values.

# SEE ALSO

Locale::Po4a::TransTractor(3pm), po4a(7)

# AUTHORS

    Brian Exelbierd <bex@pobox.com>

# COPYRIGHT AND LICENSE

    Copyright © 2017 Brian Exelbierd.
    Copyright © 2022 Martin Quinson <mquinson#debian.org>.

This program is free software; you may redistribute it and/or modify it under the terms of GPL v2.0 or later (see the COPYING file).

Locale::Po4a::Yaml - convert YAML files from/to PO files