Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lawrencerb opened this issue May 4, 2020 · 3 comments
Open

Comments

@lawrencerb
Copy link

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
Copy link
Owner

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
Copy link
Author

lawrencerb commented May 4, 2020 via email

@hiramvillarreal
Copy link
Owner

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants