This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » Developer » Override translation.ts
expandshrink

Override translation.ts

Override translation.ts

Wednesday 19 October 2005 11:16:33 am - 3 replies

I created many custom classes and templates. Now I have to translate some text in my custom templates. A way is to add custom translation in the corrispective language "transation.ts" file, but I think that it isn't a good idea because when I will upate my eZpublish I would like to overwrite this file with the new one. There is a way to override translation.ts files like the .ini files? There are other ways?

Modified on Wednesday 19 October 2005 11:17:42 am by Salvatore Guarino

Wednesday 19 October 2005 1:44:10 pm

You could move all your stuff in a custom extension.
Then you can generate a translation.ts for your extension.
There are some little issues (for example you can't get only your custom context in the ts) but it works.

Wednesday 19 October 2005 3:28:51 pm

What do you mean with "all your stuff"?

Wednesday 19 October 2005 4:17:16 pm

> What do you mean with "all your stuff"?

Your templates and your ini settings.
In fact you have to create a template only extension.
Have a look to the contribs section for examples.

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from