Base solution for your next web application

Activities of "bosalah"

Answer

https://ng2-pdfjs-viewer.azurewebsites.net/bytearray

i am trying to use this now .. but i cant do this from service

return File(bytes, "application/pdf");

:(

Hi velu, if you are still willing to share can you please send a copy to [email protected] Thanks!

@muhittincelik Can u send it to me please [email protected]

thank you millions :)

Answer

I did your solution and it worked good but I can't change the language  in frontend I can't understand the last part about how can I  execute other request culture localizers in my custom class

----------------------------------------------------------- you need to execute other request culture localizers in your custom class

  1. First create a class like below in your *.Web.Host project:
public class MyRequestCultureProvider : RequestCultureProvider
{
	public override Task<ProviderCultureResult> DetermineProviderCultureResult(HttpContext httpContext)
	{
		var result = new ProviderCultureResult(culture: (StringSegment)"en-US", uiCulture: (StringSegment)"ar");
		return Task.FromResult(result);
	}
}

<span class="colour" style="color: rgb(0, 0, 0);">Then, use it like this to see if server returns dates with correct format:</span>

app.UseAbpRequestLocalization(opts =>
{
	opts.RequestCultureProviders.Insert(0, new MyRequestCultureProvider());
});

But, this will work before all request culture providers, so when you change the language on the UI, it will not work. So, you need to execute other request culture localizers in your custom class (like this one https://github.com/aspnetboilerplate/as ... rovider.cs), then determine correct uiCulture.

Answer
  • 1 please help angular 8 asp core 3 pro I am facing the same issue , Could you please clarify which places you did your changes either front-end or server side with sample codes so, i can fix it on our solution :)

Same here ! I have the same problem. all answers did not solve the problem for me.

I cant w8 !!!!

+1 is there any release date ?

Showing 1 to 9 of 9 entries