Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "omital"

Yes. I thought creating tree view is a Hard work. I read jstree and ngJsTree , now my problem solved. Thank you so much.

Hi. I use webApi+AngularJS and can not find "Application_BeginRequest ". if use your solution does menu language work correctly?

Can you share a simple example please?

Yes this should, but it is hard code and Language menu (user select language from drop down menu) does not work anymore. Dose any other suggestion?

Hi, What is best way for use localization in html templateUrl file ?

Hi, Thank you for your response. Yes I Checked it and it was

lang=@System.Threading.Thread.CurrentThread.CurrentCulture.TwoLetterISOLanguageName>

in layout.cshtml page. I want to when user visit site for the first time ,[lang] attribute be "fa-ir" and then user can change it from language menu.

Hi, I try to change System.Threading.Thread.CurrentThread in project startup

public class Startup
    {
        public void Configuration(IAppBuilder app)
        {
            // Enable the application to use a cookie to store information for the signed in user
            app.UseCookieAuthentication(new CookieAuthenticationOptions
            {
                AuthenticationType = DefaultAuthenticationTypes.ApplicationCookie,
                LoginPath = new PathString("/Account/Login")
            });

            // Use a cookie to temporarily store information about a user logging in with a third party login provider
            app.UseExternalSignInCookie(DefaultAuthenticationTypes.ExternalCookie);

            System.Threading.Thread.CurrentThread.CurrentCulture = new CultureInfo("fa-IR");
        }
    }

but it does not work. also I set this in AbpModule's Preinitialize class.

public override void PreInitialize()
        {
            //Add/remove languages for your application

            Configuration.Localization.Languages.Add(new LanguageInfo("fa-IR", "فارسی", "famfamfam-flag-ir", true));
            Configuration.Localization.Languages.Add(new LanguageInfo("en", "English", "famfamfam-flag-england", false));
            

            Configuration.Localization.Sources.Extensions.Add(
     new LocalizationSourceExtensionInfo("AbpWeb",
         new XmlFileLocalizationDictionaryProvider(
             HttpContext.Current.Server.MapPath("~/Localization/AbpWebExtensions")
             )
         )
     );

but it did not work and lang attribute in html tag is en

Hi, Thank you for your response.

13 View for this post without any response? :(

Hi, Do you suggest Abp (EF+AngularJS) for internet store?

Showing 71 to 80 of 99 entries