Skip to content

Guidance on translating plots and tables #43

@olivroy

Description

@olivroy

For example, gt, or ggplot2.

I know gt started supporting a more centralized locale definition.
rstudio/gt#1347

In ggplot2, I don't think it's possible,

I mostly manually do

# EN
scale_x_continuous(name = "count", labels = scales::label_comma())
# FR
scale_x_continuous(name = "Fréquence", labels = scales::label_number(decimal.mark = ",", big.mark = " "))

But I wonder if this package could possibly help or direct people to resources.

Nice work so far, excited to see what's next

Edited to add the translation of the label.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions