Package: potools 0.2.4
potools: Tools for Internationalization and Portability in R Packages
Translating messages in R packages is managed using the po top-level directory and the 'gettext' program. This package provides some helper functions for building this support in R packages, e.g. common validation & I/O tasks.
Authors:
potools_0.2.4.tar.gz
potools_0.2.4.zip(r-4.5)potools_0.2.4.zip(r-4.4)potools_0.2.4.zip(r-4.3)
potools_0.2.4.tgz(r-4.4-any)potools_0.2.4.tgz(r-4.3-any)
potools_0.2.4.tar.gz(r-4.5-noble)potools_0.2.4.tar.gz(r-4.4-noble)
potools_0.2.4.tgz(r-4.4-emscripten)potools_0.2.4.tgz(r-4.3-emscripten)
potools.pdf |potools.html✨
potools/json (API)
NEWS
# Install 'potools' in R: |
install.packages('potools', repos = c('https://michaelchirico.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/michaelchirico/potools/issues
Last updated 5 months agofrom:0dc529285c. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 19 2024 |
R-4.5-win | OK | Nov 19 2024 |
R-4.5-linux | OK | Nov 19 2024 |
R-4.4-win | OK | Nov 19 2024 |
R-4.4-mac | OK | Nov 19 2024 |
R-4.3-win | OK | Nov 19 2024 |
R-4.3-mac | OK | Nov 19 2024 |
Exports:check_cracked_messagescheck_potools_sys_reqscheck_untranslated_catcheck_untranslated_srcget_message_datapo_compilepo_createpo_explain_pluralspo_extractpo_metadatapo_updatetranslate_packagewrite_po_file
Dependencies:data.tableglue
Translation for package developers
Rendered fromdevelopers.Rmd
usingknitr::rmarkdown
on Nov 19 2024.Last update: 2024-06-21
Started: 2021-11-25
Translation for package translators
Rendered fromtranslators.Rmd
usingknitr::rmarkdown
on Nov 19 2024.Last update: 2023-10-30
Started: 2021-11-25
Writing a custom diagnostic
Rendered fromcustom-diagnostic.Rmd
usingknitr::rmarkdown
on Nov 19 2024.Last update: 2023-10-24
Started: 2021-06-20
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Check for cracked messages more suitable for templating | check_cracked_messages |
Check if the proper system utilities for running package translation are installed | check_potools_sys_reqs |
Check for untranslated messages emitted by cat | check_untranslated_cat |
Check for cracked messages in C/C++ sources | check_untranslated_src |
Extract user-visible messages from a package | get_message_data |
Compile '.po' files to '.mo' | po_compile |
Create a new '.po' file | po_create |
Explain plural message criteria verbally | po_explain_plurals |
Extract messages for translation into a '.pot' file | po_extract |
Update all '.po' files with changes in '.pot' | po_update |
Interactively provide translations for a package's messages | translate_package |
Write a .po or .pot file corresponding to a message database | format.po_metadata po_metadata print.po_metadata write_po_file |