Do you mean creating a Custom name for the sword? I honestly am a little confused by what you're trying to ask, whenever you're asking a question please provide enough details so everyone else that are willing to help you understands where you are coming from and can help
Try making resource pack and custom name them anything u want, at this moment minecraft doesn’t support custom items.