british_american_translate
Translate strings between British (en_GB) and American (en_US) English
const translate = ; // translate UK to USAconst ukString = "I'm visualising the colour of this yoghurt";console; // "I'm visualizing the color of this yogurt" // translate USA to UKconst usString = "I'm visualizing the color of this yogurt";console; // "I'm visualising the colour of this yoghurt"
Errors return null
License
(C) 2018-19 P. Hughes. All rights reserved.
Shared under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported license.