Sambastatus: my first module for nethserver

module

(Alessio Fattorini) #21

It’s great, @davidep how can @gecco improve it permitting string translations by transifex?
I’d like to see it in English and make it worldwide! :joy:


(Carlo Minucci) #22

it’s in english and in italian, i make two different file:

[root@server Language]# pwd
/usr/share/nethesis/NethServer/Language
[root@server Language]# find ./ -iname SambaStatus
./it/NethServer_Module_SambaStatus.php
./en/NethServer_Module_SambaStatus.php
[root@server Language]#

i think it is sufficient… or not?


(Davide Principi) #23

Well, English was enough :smile: …because other languages are translated on Transifex.

To prepare your code for localization, a GitHub repository would help me on uploading the source strings to Transifex. Could you share your code on GitHub?

For more details:

http://docs.nethserver.org/projects/nethserver-devel/en/v7b/i18n.html


(Carlo Minucci) #24

i don’t know nothing about nethgui way, where i can found some documentation?


(Davide Principi) #25

Have a look at

http://docs.nethserver.org/projects/nethserver-devel/en/v7b/create_interface_module.html


(Carlo Minucci) #26

do you call it documentations? :smiley:


(Rob Bosch) #27

Feel free to try and follw those directions and extend the documentation with the information you come across. I am sure @davidep will help you with any step you have trouble with… :thumbsup:


(Carlo Minucci) #28

first step:


(Marc) #29

There is some deprecated documentation in github’s nethgui, maybe some points are still valid (@davidep?)
Also different components in use, like Mustache, jquery, datatables…

Just say it because I wasted some time looking at symfony and twig just to find out mustache was used for templates.


(Davide Principi) #30

What are you referring to? Could you make some examples?


(Giovanni Bezicheri) #31

@gecco Your commits comments are great!!! :smiley: :smiley:


(Marc) #32

just wondering if the docs (Programmer Guide, and the User Interface guidelines) can be of use, like the module dissection in the Programmer Guide.


(Carlo Minucci) #33

this is a screenshot of new version…

but… somebody can help me? i can’t understand how work the \Nethgui\Controller\TableController


(Davide Principi) #34

What is your goal?

TableController may help you if every row represents something on which a set of action can be executed. However, if you just want to display a table, it is not worth a dime.


(Carlo Minucci) #35

ok but where can i read some documentation about this?


(Davide Principi) #36

I know the answer but I’m afraid you don’t want to know it. :sweat:


(Alessio Fattorini) #37

Any Italian guy can help me with that? Translating Gecco’s notes?


(Enrique D) #38

When I know and test Nethserver, this was the one feature that I miss from w2k.
Thank you for your effort Gecco. :sparkling_heart:


(Alessio Fattorini) #39

@gecco did you upload that on NethForge? Do you need some help?


(Carlo Minucci) #40