## Not run:
# # create example package
# pkg <- dummy_pkg()
#
# # setup pkg for localization
# use_localization(pkg)
#
# # generate Portugal Portugese translation in memory
# make_translation("pt_PT", translator = "Some Person <example@example.com>")
# # generate Spanish translation in memory
# (tran <- make_translation("es", translator = "Some Person <example@example.com>"))
# # write to disk
# write_translation(tran)
# ## End(Not run)
Run the code above in your browser using DataLab