ices-eg / wg_WGEEL

Joint EIFAAC/ICES/GFCM Working Group on Eels
http://ices.dk/community/groups/Pages/WGEEL.aspx
5 stars 16 forks source link

Internationalization of ` trace_precodiag` function #313

Closed LBeaulaton closed 1 month ago

LBeaulaton commented 3 months ago

https://github.com/ices-eg/wg_WGEEL/blob/3449137e72d39bb7d6a35dc6f3a034e9a8d784cf/R/shiny_data_visualisation/shiny_dv/preco_diagram.R#L37

One option is to use shiny.i18n but it will require to change the whole shiny structure and do not help to use this function outside the shiny app.

LBeaulaton commented 3 months ago

To use this function in an other project you can use

devtools::source_url(
  url = "https://raw.githubusercontent.com/ices-eg/wg_WGEEL/master/R/shiny_data_visualisation/shiny_dv/preco_diagram.R"
)