Skip to contents

Reads a yaml file with translations into a list. This list will then be used to translate the strings at runtime.

Usage

rd_flat_write(rd_flat, file)

rd_flat_read(file)

Arguments

rd_flat

an rd_flattened file returned by [rd_flatten].

file

Yaml file with translations

Details

rd_flat_write writes the result of [rd_flatten] into a yaml file that then can be used for translation. rd_flat_read reads this file and the result can be used as translation for [rd_translate].