Open core-ai-bot opened 3 years ago
Comment by peterflynn Thursday Mar 07, 2013 at 19:53 GMT
@
fr32c: a little unsure what you're requesting. Most editors (although not Brackets, yet) support search-replace across a whole folder: you give one search term, one replacement string, and a folder root. But it sounds like you're looking for a feature where you input multiple search terms at once, and each search term has a different replacement string. Is that correct?
That would make for a great Brackets extension, but I'm not sure it's a feature we'd add to Brackets core in the immediate future.
I'm a little confused when you discuss localization, though. Localization usually works quite differently: you wouldn't normally hardcode on language's strings and then search-and-replace with a different languages strings. Typically you write code that references string "keys" and the keys are mapped to localized strings dynamically, at runtime -- not by modifying code in your editor. There are many different approaches and frameworks for implementing localization like this. Is your question about supporting certain localization frameworks in Brackets?
Comment by njx Monday Mar 11, 2013 at 18:09 GMT
Reviewed.@
peterflynn -- if the conversation continues, please mark move to backlog at the point when the actual request becomes clear. Thanks.
Comment by peterflynn Thursday Mar 28, 2013 at 17:37 GMT
@
fr32c closing this for now since I'm not sure what the request is. Happy to look at this further if you have a chance to reply to my questions above.
Issue by fr32c Thursday Mar 07, 2013 at 05:13 GMT Originally opened as https://github.com/adobe/brackets/issues/3062
I have no idea if this is something already available, but i'd look for a mechanism in which i give a folder and a list of terms to search and replace.
Example is built on the way software deal with language changes (in a documentation or anything)
I base it on Edge Animate lessons (+show package content) Applications/Adobe Edge Animate/Adobe Edge Animate.app/Contents/Resources/edgeApp/lessons
you've got html folder, and they relate to
/Applications/Adobe Edge Animate/Adobe Edge Animate.app/Contents/Resources/fr_FR/zstring to translate partly files are implementated like this: "$$$/Lessons/ContentCreation/CreatingContent/Title=Création de contenu"
I guess something like that already exists maybe directly in the getting_started.js file
I of course has many more usages than just language replacement, you could imagine setting lists of common searches, use grep within, etc.
(hope it's the right place to post)