Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7549913
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T10:04:38+00:00 2026-05-30T10:04:38+00:00

I wish to translate my entire application into a different language. I have added

  • 0

I wish to translate my entire application into a different language. I have added a separate global resource project, which contains the resource file, LocalizableResources.resx.
However i am stuck at the strings used within the javascripts, here is what i tried,

*var resourceDictionary = new ResourceReader(FILEPATH OR STREAM)
                                .Cast<DictionaryEntry>()
                                .Where(x=>x.Key.ToString().StartsWith("JS_"))
                                .ToDictionary(entry => entry.Key.ToString(), entry => entry.Value.ToString());
            var json = Serializer.Serialize(resourceDictionary);*

with all the javascript strings starting with “JS_”.
The problem that i am facing is that i can’t get the FILEPATH/STREAM, since the resource file is present as a different project (not within Web Endpoints). If anyone could provide a different way of doing it, or point out the mistake in this method, it’ll be really helpful.
Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T10:04:40+00:00Added an answer on May 30, 2026 at 10:04 am

    Do you use any Javascript library like JQuery?
    They have native feature or plugins for i18n.

    About your code, you can use ResourceManager to retrieve all keys for your resources instead of directly access to resource files.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am developing an application in which I wish to handle different currency formats,
I wish to add the mouseover events to a panel which contains more than
I have a database with which I wish to expose data with a ContentProvider.
I have written python code which involves the use of dictionaries. I now wish
I have written an application (wpf - will Mono translate this for a Mac?)
I have a QuerySet that I wish to pass to a generic view for
I have an Async method returning a Task. I also wish to offer a
I wish to add a KeyListener to the entire UI by using: frame.addKeyListener(this); In
I have a DNS script which allow users to resolve DNS names by typing
I have a form field in Drupal which I need some help with. The

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.