Topic: How to Replace Word Supplier with Vendor in Reporting System

Hi, I want to replace Supplier with Vendor in Reports generated by FrontAccounting. Like wise Customer with Debtors.
Kindly guide me as soon as possible.
thank you.

Re: How to Replace Word Supplier with Vendor in Reporting System

Change the word "Supplier" in the translated string in the .po file and compile and use the .mo file.

Here is what I used in bash:

grep "Supplier" empty.po > msgid.txt
grep "Supplier" empty.po | sed -e "s/Supplier/Vendor/g" | sed -e "s/^msgid/msgstr/g" > msgstr.txt
msgunfmt -i en_US.mo -o en_US.po
## Append the output of the following to en_US.po
exec 6<"msgstr.txt"
while read -r line
do
    read -r f2line <&6
    echo
    echo "${line}"
    echo "${f2line}"
done <"msgid.txt"
exec 6<&-
## Re-compile the .mo file
msgfmt en_US.po -o en_US.mo

The resultant output is attached for use.

Post's attachments

en_US.zip 3.6 kb, 4 downloads since 2019-12-10 

You don't have the permssions to download the attachments of this post.

Re: How to Replace Word Supplier with Vendor in Reporting System

thank you I will try it and gives you feedback ...much appreciated really prompt response...thankyou