Strings Catalog location in project structure

I was wondering if there are any technical rules where to store the xcstrings file(s) in the Xcode project? Is the source folder most common? From my observations it seems the xcstrings file could be anywhere inside the project folder hierarchy and they still take part in string extraction.

Hello!

The String Catalog can be placed anywhere in the Xcode project. The important thing is to make sure it's member of the desired target. You can inspect the target membership in the Attribute Inspector on the right.

For Swift Packages, place the String Catalog file in the correct folder for the target, and into a Resources sub-directory.

Strings Catalog location in project structure
 
 
Q