String encapsulation for improved translation