Fleshed out localization

Also fixed some bugs with triggers and modifier effects.