That's the beauty of using libraries: whatever strings are defined in the application override the ones in the library. If I understand your question correctly, you shouldn't have to do anything: just make sure keep the string names the same.
See this quote from the documentation on libraries:
Since the tools merge the resources of a library project with those of a dependent application project, a given resource ID might be defined in both projects. In this case, the tools select the resource from the application, or the library with highest priority, and discard the other resource. As you develop your applications, be aware that common resource IDs are likely to be defined in more than one project and will be merged, with the resource from the application or highest-priority library taking precedence.