Text this: Application of foreign law