Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for internationalization via resource files #81

Open
rmed1na opened this issue Jan 8, 2025 · 1 comment
Open

Support for internationalization via resource files #81

rmed1na opened this issue Jan 8, 2025 · 1 comment

Comments

@rmed1na
Copy link

rmed1na commented Jan 8, 2025

Would it be possible to implement the ability to use resource files according to the current set culture info? I've tried to set the culture in the thread before calling the RenderAsync method to get some Spanish phrases within my template (those are called in the template via the resource file... e.g.: @Resource.Phrase1) but I always get English back instead.

This would help in avoiding the need to create a template for each language.

@soundaranbu
Copy link
Owner

Hey @rmed1na, thanks for reporting this. This is a new area for me. I'll have a look & let you know. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants