forked from enlightenment/efl
dca95fb45a
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> |
||
---|---|---|
.. | ||
Edje.h | ||
Edje_Common.h | ||
Edje_Edit.h | ||
Edje_Eo.h | ||
Edje_Legacy.h | ||
edje_box_layout.c | ||
edje_cache.c | ||
edje_calc.c | ||
edje_callbacks.c | ||
edje_container.c | ||
edje_container.h | ||
edje_convert.c | ||
edje_convert.h | ||
edje_data.c | ||
edje_edit.c | ||
edje_edit.eo | ||
edje_embryo.c | ||
edje_entry.c | ||
edje_external.c | ||
edje_load.c | ||
edje_lua.c | ||
edje_lua2.c | ||
edje_lua_script_only.c | ||
edje_main.c | ||
edje_match.c | ||
edje_message_queue.c | ||
edje_misc.c | ||
edje_module.c | ||
edje_multisense.c | ||
edje_object.eo | ||
edje_private.h | ||
edje_program.c | ||
edje_signal.c | ||
edje_smart.c | ||
edje_text.c | ||
edje_textblock_styles.c | ||
edje_util.c | ||
edje_var.c |