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.
It's much more fun, when you can discuss your problems with others...
You are not logged in. Please login or register.
FrontAccounting forum → FA Modifications → 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.
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.
thank you I will try it and gives you feedback ...much appreciated really prompt response...thankyou
FrontAccounting forum → FA Modifications → How to Replace Word Supplier with Vendor in Reporting System
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 4 official extensions. Copyright © 2003–2009 PunBB.