hiramvillarreal / iotpos

IotPOS, an open source Point of Sale software.
GNU General Public License v2.0
146 stars 77 forks source link

(Newbie here) How can I change Language and add my own database? #32

Open lawrencerb opened 4 years ago

lawrencerb commented 4 years ago

Hello, thanks for your awesome project!

I was trying out the program and read a little bit of the source code. Still wondering where can I add my own database or a single product without querys. I also want to translate it to Portuguese, could you help me with the steps?

hiramvillarreal commented 4 years ago

Hi, Still wondering where can I add my own database or a single product without querys. Do you mean you what to sell a single product or service? You can just have one if you want,. Sure you can contribute with a Portuguese translation you can check the .PO files and create yours.

lawrencerb commented 4 years ago

Thanks for the response :)

No, I don't wish to sell it. I'm considering setting up a very small POS for my father-in-law shop. He sells small crops younglings and flowers, some species are quite rare, so it would be great to have a way to quickly add products to the program.

Yes, I had a look at the .po files, can you tell me which is loaded as default?

Any help is apreciated :) thanks more than a bunch!

Lawrence

Em seg, 4 de mai de 2020 19:23, Hiram Villarreal notifications@github.com escreveu:

Hi, Still wondering where can I add my own database or a single product without querys. Do you mean you what to sell a single product or service? You can just have one if you want,. Sure you can contribute with a Portuguese translation you can check the .PO files and create yours.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/hiramvillarreal/iotpos/issues/32#issuecomment-623739571, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGSLU4SQJG2M22ETE4AKJ43RP456NANCNFSM4MYM22GA .

hiramvillarreal commented 4 years ago

a way to quickly add products to the program. --You have to use IoTstock to add the products, the installations give you both apps IoTPOS for Point of sale and IoTStock for products administration.

Yes, I had a look at the .po files, can you tell me which is loaded as default? -- It depends of your LOCALE the default is English, You can duplicate the es.po on src/po and rename it to pt.po edit it and recompile, make sure your LOCALE are on portugese and one more thing you need to install the KDE language for it : sudo apt-get install kde-l10n-pt (I am not sure if that the name of the language pack)

Please let me know if your success and if you can share that PO file to the repo.

Thanks

sudo apt-get install kde-l10n-pt (I am not sure if that the name of the lenguage pack)