Implemented string parsing and replacement
updated usages of translateToLocal

Signed-off-by: ShadowChild <shadychild12@gmail.com>