msgtools icon indicating copy to clipboard operation
msgtools copied to clipboard

Tools for Developing Diagnostic Messages

Results 8 msgtools issues
Sort by recently updated
recently updated
newest added

Doing the following on an empty package on R 3.5.1 on macOS (with all supporting software installed): ``` R library("msgtools") use_localization() en

I've added the auto-translation functionality, and it's at a point where I'm fairly happy with it. Please can you take a look and merge into master. The basic workflow is...

It seems to be [a bug](https://bugs.r-project.org/bugzilla/show_bug.cgi?id=17298) in `xgettext()`. One consequence is that `make_translation()` fails on the `Rcpp` package. Not sure the best way to work around it.

In [`setlang`](https://github.com/leeper/msgtools/blob/master/R/setlang.R), the current code sets the `LANG` environment variable. On Linux, this may also (or alternatively) need to set a locale, e.g.: ``` R Sys.setlocale("LC_MESSAGES", "ko_KR.utf8") ``` There's also...

bug

Add automated translations using **translate** or **translateR**

enhancement

Add a check tool (beyond #5) to look for things like: - [ ] `sprintf` (e.g., `%s`) statements in `msgid` not in translation - [ ] Function names that have...

enhancement

Check for: - [ ] Pluralization handling - [ ] Weird things (like just punctuation, etc.)

enhancement

Write Rd and/or roxygen2 documentation files for errors and warnings

enhancement