antoinemartin / django-windows-tools

Django application providing management commands to host Django projects in Windows environments
BSD 2-Clause "Simplified" License
51 stars 13 forks source link

Windows Portuguese #1

Closed petryx closed 12 years ago

petryx commented 12 years ago

HI,

For windows 2008 R2 Portuguese, need change the file winservice_install.py to

users, domain, type = win32security.LookupAccountName ("", "Usuários") admins, domain, type = win32security.LookupAccountName ("", "Administradores")

antoinemartin commented 12 years ago

Hi,

Thank you for pointing at this. I just committed a patch that looks at groups by SID instead of names. It makes the code working for anybody in the world.

Thanks.

petryx commented 12 years ago

Hi Antoine,

Please look at setup.py install script, it doens't copy the template files.

Thanks for your module is very good.

Cheers, Marlon

2012/8/17 Antoine Martin notifications@github.com

Hi,

Thank you for pointing at this. I just committed a patch that looks at groups by SID instead of names. It makes the code working for anybody in the world.

Thanks.

— Reply to this email directly or view it on GitHubhttps://github.com/antoinemartin/django-windows-tools/issues/1#issuecomment-7831475.

Marlon Petry "Economia freqüentemente não tem relação com o total de dinheiro gasto, mas com a sabedoria empregada ao gastá-lo." Henry Ford

antoinemartin commented 12 years ago

Hi Marlon,

Thanks for pointing this again. It's fixed.

2012/8/17 petryx notifications@github.com

Hi Antoine,

Please look at setup.py install script, it doens't copy the template files.

Thanks for your module is very good.

Cheers, Marlon

2012/8/17 Antoine Martin notifications@github.com

Hi,

Thank you for pointing at this. I just committed a patch that looks at groups by SID instead of names. It makes the code working for anybody in the world.

Thanks.

— Reply to this email directly or view it on GitHub< https://github.com/antoinemartin/django-windows-tools/issues/1#issuecomment-7831475>.

Marlon Petry "Economia freqüentemente não tem relação com o total de dinheiro gasto, mas com a sabedoria empregada ao gastá-lo." Henry Ford

— Reply to this email directly or view it on GitHubhttps://github.com/antoinemartin/django-windows-tools/issues/1#issuecomment-7831753.

Cordialement/Regards,

Antoine Martin - Owner - Openance 65 rue du moulin sarrazin - 95100 Argenteuil - France Tel: +33 9 54 55 31 44 Fax: +33 9 59 55 31 44 Mob.: +33 6 88 05 41 43

mrbean-bremen commented 11 years ago

Hi, just noticed that your fix (lookup groups by SID instead of name) didn't make it into winfcgi_install.py, where the code for set_file_readable() is duplicated. This makes it unusable on a non-English Windows. Could you please fix it there (or even put the code into a single place...)?

Thanks