diff options
author | katpavalli <katpaga.a@samsung.com> | 2015-05-13 18:08:04 +0200 |
---|---|---|
committer | Cedric BAIL <cedric@osg.samsung.com> | 2015-05-14 18:41:47 +0200 |
commit | dca95fb45af216068b5476f7110639cb3715b96b (patch) | |
tree | 49691183f3c708bebf663a3f8a34d00028ae6f5d /AUTHORS | |
parent | a312e304bf181777aa8190f4281ebdac49a827a5 (diff) | |
download | efl-dca95fb45af216068b5476f7110639cb3715b96b.tar.gz |
edje: support translation on static strings in edc.
Summary:
Internationalisation of the static text specified as part of the edc is implemented.
Problem: Static text when specified in the edc, remains unchanged when the system language is changed.
Solution: Language support is provided even for the static strings in the edc.
Test Plan:
Test code to test this implementation is done as part of efl/src/examples/edje/edje-text.c and efl/src/examples/edje/text.edc
Compile the code with the below command
edje_cc -md <dir path>/efl/src/examples/edje/ text.edc && gcc -o edje-text edje-text.c `pkg-config --libs --cflags ecore-evas edje evas ecore`
./edje-text
1) change the language of the system using the command
export LANGUAGE=hi
./edje.text
Not the text Loading gets displayed in hindi language
2) change the language of the system using the command
export LANGUAGE=ta
./edje.text
Not the text Loading gets displayed in tamil language
3) change the language of the system using the command
export LANGUAGE=en
./edje.text
Not the text Loading gets displayed in english language
As the number of .mo files in the /edje folder can be increased, those many languages can be supported
Reviewers: cedric, shilpasingh
Reviewed By: shilpasingh
Subscribers: cedric, rajeshps, govi, poornima.srinivasan
Differential Revision: https://phab.enlightenment.org/D2336
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'AUTHORS')
-rw-r--r-- | AUTHORS | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -321,6 +321,7 @@ Vorobiov Vitalii <vi.vorobiov@samsung.com> m.biliavskyi <m.biliavskyi@samsung.com> Vyacheslav Reutskiy <v.reutskiy@samsung.com> Kumar Navneet <k.navneet@samsung.com> +Katpagavalli Anantharaj <katpagavalli@gmail.com> Emotion ------- |