| po_update {potools} | R Documentation | 
Update all .po files with changes in .pot
Description
po_update() updates existing .po file after the .pot file has changed.
There are four cases:
- New messages: added with blank - msgstr.
- Deleted messages: marked as deprecated and moved to the bottom of the file. 
- Major changes to existing messages: appear as an addition and a deletion. 
- Minor changes to existing messages: will be flagged as fuzzy. - #, fuzzy, c-format #| msgid "Generating en@quot translations" msgid "Updating '%s' %s translation" msgstr "memperbarui terjemahan bahasa en@quot..." - The previous message is given in comments starting with - #|. Translators need to update the actual (uncommented)- msgstrmanually, using the old- msgidas a potential reference, then delete the old translation and the- fuzzycomment (c-format should remain, if present).
Usage
po_update(dir = ".", lazy = TRUE, verbose = !is_testing())
Arguments
| dir | Character, default the present directory; a directory in which an R package is stored. | 
| lazy | If  | 
| verbose | Logical, default  |