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 7733367
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T06:58:12+00:00 2026-06-01T06:58:12+00:00

I accidently externalised all my strings in an eclipse java project a week ago.

  • 0

I accidently externalised all my strings in an eclipse java project a week ago. However I cant find any option to revert this? Is there a way to convert externalised strings like mstring = Messages.getString("VSsimpleCursorAdapter.0") to "mstring = This is the string" as a batch? I’m looking for a python or ruby script that can do it automagiclly.

  • 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-06-01T06:58:13+00:00Added an answer on June 1, 2026 at 6:58 am

    An awesome oneliner from @potong

    sed 's|^\([^=]*\)=\(.*\)|s@Messages.getString("\1")@"\2"@g|;s/\\/\\\\/g' messages.properties | sed -i -f - *.java
    

    Run this inside your src dir, and see the magic.

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

Sidebar

Related Questions

Last week I accidently externalized all my strings of my eclipse project. I need
I created a SharePoint sub-site, and accidently deleted all permissions groups except for the
Unfortunately we accidently checked in a large binary file some time ago and until
Our svn server has accidently lost its all data, and our svn repository files
I accidently merged a project with another project that had nothing to do with
Accidently I got detached from my application branch: Not currently on any branch. nothing
I accidently overwrote my stylesheet and need help to find a backup
I accidently deleted by App.xaml and App.xaml.cs files in my blend 4 project. So
accidently my code suggestion box [ the box when we start typing it shows
I think I may have accidently disabled stylecop in my Visual Studio 2008 enviroment.

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.