livehelperchat icon indicating copy to clipboard operation
livehelperchat copied to clipboard

How to add translations for a extension?

Open hailiang-wang opened this issue 6 years ago • 1 comments

For an extension, how to add translations?

I can see that sugarcrm has translations, but there is no doc for this usage. https://github.com/LiveHelperChat/sugarcrm/tree/master/sugarcrm

So, how to add translations and load the messages, then retrieve value by string?

hailiang-wang avatar Apr 16 '18 04:04 hailiang-wang

It will auto load translation if it finds a file :)

On Mon, 16 Apr 2018 at 07:06, Samurais [email protected] wrote:

For an extension, how to add translations?

I can see that sugarcrm has translations, but there is no doc for this usage. https://github.com/LiveHelperChat/sugarcrm/tree/master/sugarcrm

So, how to add translations and load the messages, then retrieve value by string?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/LiveHelperChat/livehelperchat/issues/1210, or mute the thread https://github.com/notifications/unsubscribe-auth/ABF85UYme620a7_Yo1UVeWT4v-aIAKvKks5tpBjQgaJpZM4TV1vI .

-- Sincerely, Remigijus Kiminas

remdex avatar Apr 16 '18 05:04 remdex