write_pot_file
Write the potfile with the msgs contents, making sure its format is valid.
def write_pot_file(
potfile: string,
msgs: string
)
Write the potfile with the msgs contents, making sure its format is valid.
Parameters
| Name | Type | Description |
|---|---|---|
| potfile | string | The file system path to the .pot file where message translations will be appended or created. |
| msgs | string | The raw string content containing translation messages to be processed and written to the file. |
Returns
| Type | Description |
|---|---|
| Nothing is returned; the function writes directly to the file system. |