Skip to content

Allow custom translations #29

Description

@matt-dray

Maybe a user could provide a list object with preferred text for each token?

Something like:

r2eng::translate("1 / 1", dict = list("/" = "divided by")))  # rather than 'over'

It's probably preferable for this to be set as an option() so that it can always be applied when the function is called in a given session.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions