LingoHub v0.1.0 LingoHub.Gettext View Source

Convenience module for interacting with gettext based .po files.

Link to this section Summary

Functions

List all local .po files for the translated locales

List all local .pot files

Ge the path based on the filename of the online resource

Link to this section Functions

Link to this function

list_local_resources() View Source
list_local_resources() :: [%{path: Path.t(), name: binary()}]

List all local .po files for the translated locales

Link to this function

list_local_sources() View Source
list_local_sources() :: [%{path: Path.t(), filename: binary()}]

List all local .pot files

Link to this function

local_path_for_resource(resource) View Source
local_path_for_resource(LingoHub.Resource.t()) :: Path.t()

Ge the path based on the filename of the online resource