How to create localized entries from code?

Thanks!!! i’m take a different way, but i can solve it, thanks for you reply!