StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Localization for default login formExpand / Collapse
Author
Message
Posted 04/28/2008 8:58:39 AM


StrataFrame Novice

StrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame Novice

Group: StrataFrame Users
Last Login: 09/04/2008 10:07:48 AM
Posts: 81, Visits: 606
The default login form provided with the Core module is just fine. It is just annoying that I have to manually add the localization labels and logic to the source code with each release.
Thanks
Post #15940
Posted 04/28/2008 9:22:46 AM


Advanced StrataFrame User

Advanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame User

Group: StrataFrame Users
Last Login: 2 days ago @ 2:02:58 PM
Posts: 644, Visits: 10,954
Hi Guillermo.

Why do you need to add your labels after each release? Haven't you created your own Login form out of the SF Login Form template?

Post #15941
Posted 04/28/2008 9:57:39 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 4:58:13 AM
Posts: 4,379, Visits: 4,421
Guillermo, why do you need to add the localization files back?  I have no idea why you would have this issue?  We do not touch your localization files.
Post #15946
Posted 05/11/2008 12:52:32 PM


StrataFrame Novice

StrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame Novice

Group: StrataFrame Users
Last Login: 09/04/2008 10:07:48 AM
Posts: 81, Visits: 606
Ivan George Borges (04/28/2008)
Hi Guillermo.

Why do you need to add your labels after each release? Haven't you created your own Login form out of the SF Login Form template?

Hello Ivan, I rather use the one provided in SF since its all I need in my applications

Trent L. Taylor (04/28/2008)
Guillermo, why do you need to add the localization files back?  I have no idea why you would have this issue?  We do not touch your localization files.

Hi Trent, I've modified the SF login Form source to use localization labels, by default the SF Login Form doesn't support localization, at least it always pops in English to me. If you want I can send you the files of the SF Login Form I always need to modify with each release of SF source code. Maybe I'm doing something wrong or I can't explain myself

Post #16306
Posted 05/11/2008 9:48:45 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 4:58:13 AM
Posts: 4,379, Visits: 4,421
I understand, but you really don't need to modify the SF localization for this.  You should create a custom login for, then use the localization files for your application.  That would be the better way to go about it so that the next update of SF will not break your application.  Just a suggestion.
Post #16314
Posted 05/12/2008 7:49:22 AM


Advanced StrataFrame User

Advanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame UserAdvanced StrataFrame User

Group: StrataFrame Users
Last Login: 2 days ago @ 2:02:58 PM
Posts: 644, Visits: 10,954
Hi Guillermo.

Hello Ivan, I rather use the one provided in SF since its all I need in my applications
 

I understand that, but there's a template that will give you the same functionality, and then you can tweak it as you wish. Try adding a new item to your project, and then choose the Login Form template to have a look at it. Then, go to the AppMain.vb (or Program.cs), in the ShowLoginAndInitMainForm Sub, and set the login form to this newly created one:

    '-- Set the login form to your custom login form (optional)

    Login.LoginFormType = GetType(frm_Login)

 Hope it helps

 

Post #16320
Posted 05/12/2008 8:05:49 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 4:58:13 AM
Posts: 4,379, Visits: 4,421
Yup...me and Ivan are on the same page
Post #16322
Posted 05/13/2008 4:44:38 AM


StrataFrame Novice

StrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame NoviceStrataFrame Novice

Group: StrataFrame Users
Last Login: 09/04/2008 10:07:48 AM
Posts: 81, Visits: 606
mmm.. without been a pain in the.. RAM.
I just don´t want to reinvent the wheel if there is a loginform already in SF. I´m attaching the loginform files with the mods I talked about and also the nodes that needs to be added for every language supported. So please let me now if you would consider adding this to the next release and in the mean time I will add a custom loginForm

I would like to add that this is the best Community I ever met!!!! SF Rocks

  Post Attachments 
LoginForm.zip (11 views, 10.20 KB)
Localization.txt (8 views, 4.62 KB)

Post #16348
Posted 05/13/2008 9:31:46 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 4:58:13 AM
Posts: 4,379, Visits: 4,421
Hey Guillermo,

I don't have an issue adding these to the localization collections before the final release of 1.6.6.  But just so you understand where we are coming from here, SF comes with a template to create your own login dialog that behaves exactly like the pre-built dialog.  In most applicaitons developers will want to customize their login dialog to do more for them...add graphics, etc.  Here is an example of our medical application with our login...this was created by using the SF Custom Login template and then adding our stuff:

I hope that makes a little more sense.  You could easily create your own and set all of your localization stuff far faster than waiting on me to get the localization keys created, translated in all of the other languages, etc.