efl/src
katpavalli dca95fb45a 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>
2015-05-14 18:41:47 +02:00
..
benchmarks eina: add benchmark for crc hash in eina benchmark 2015-05-07 09:53:11 +02:00
bin edje: support translation on static strings in edc. 2015-05-14 18:41:47 +02:00
bindings eolian: precompute all enum field values (faster runtime, constness) 2015-05-13 18:10:02 +01:00
edje_external/emotion
examples edje: support translation on static strings in edc. 2015-05-14 18:41:47 +02:00
lib edje: support translation on static strings in edc. 2015-05-14 18:41:47 +02:00
modules evas-drm: Mark framebuffer as dirty before sending 2015-05-14 11:52:13 -04:00
scripts elua lib: add a func to retrieve the current translation lang 2015-05-06 15:05:23 +01:00
static_libs rg_etc: Correct ifdef to keep function available for debug build 2015-05-11 15:00:12 +02:00
tests eolian: allow forced retrieval of enum field values 2015-05-13 17:57:03 +01:00
utils/ecore
Makefile.am build: Fix benchmark and exmaples dep on all target as well. 2015-05-11 12:45:44 +02:00
Makefile_EPhysics.am
Makefile_Ecore.am Ecore tests: REMOVE wayland tests. 2015-05-08 16:18:36 +01:00
Makefile_Ecore_Audio.am ecore_audio: integrate Apple's CoreAudio to play sounds on OS X. 2015-05-07 09:53:07 +02:00
Makefile_Ecore_Audio_Cxx.am Revert "autotools: enable make check per individual modules." 2015-05-07 20:50:56 +02:00
Makefile_Ecore_Avahi.am
Makefile_Ecore_Cocoa.am eina: Fix MacOS X build with clang 3.6. 2015-02-12 07:55:33 +01:00
Makefile_Ecore_Con.am Revert "autotools: enable make check per individual modules." 2015-05-07 20:50:56 +02:00
Makefile_Ecore_Cxx.am Revert "autotools: enable make check per individual modules." 2015-05-07 20:50:56 +02:00
Makefile_Ecore_Drm.am ecore/drm: Compile ecore_drm_logind.c without condition 2015-02-13 10:12:25 +01:00
Makefile_Ecore_Evas.am ecore_evas: remove unwanted binary. 2015-04-10 14:04:33 +02:00
Makefile_Ecore_FB.am
Makefile_Ecore_File.am
Makefile_Ecore_IMF.am build: Workaround an automake limitation during parallel install relinking 2015-02-26 13:51:20 +01:00
Makefile_Ecore_IMF_Evas.am
Makefile_Ecore_Input.am
Makefile_Ecore_Input_Evas.am
Makefile_Ecore_Ipc.am
Makefile_Ecore_Psl1ght.am
Makefile_Ecore_SDL.am
Makefile_Ecore_Wayland.am Added support for xdg-shell protocol in ecore-wayland 2014-10-01 16:15:37 -04:00
Makefile_Ecore_Win32.am
Makefile_Ecore_X.am ecore_x: Add key router feature related with client side. 2015-05-13 20:47:36 +09:00
Makefile_Ector.am Revert "autotools: enable make check per individual modules." 2015-05-07 20:50:56 +02:00
Makefile_Edje.am Revert "autotools: enable make check per individual modules." 2015-05-07 20:50:56 +02:00
Makefile_Edje_Cxx.am Revert "autotools: enable make check per individual modules." 2015-05-07 20:50:56 +02:00
Makefile_Edje_Helper.am
Makefile_Eet.am Revert "autotools: enable make check per individual modules." 2015-05-07 20:50:56 +02:00
Makefile_Eet_Cxx.am Revert "autotools: enable make check per individual modules." 2015-05-07 20:50:56 +02:00
Makefile_Eeze.am Revert "autotools: enable make check per individual modules." 2015-05-07 20:50:56 +02:00
Makefile_Efl.am efl debug - start on common file for efl_debug tools for protocol 2015-05-08 17:15:03 +09:00
Makefile_Efl_Cxx.am cxx: Made automake files depend on their C counterparts for compilation 2015-04-14 01:06:57 -03:00
Makefile_Efreet.am Revert "autotools: enable make check per individual modules." 2015-05-07 20:50:56 +02:00
Makefile_Eina.am eina - begin event log infra we can get from the new debug monitor 2015-05-10 19:05:54 +09:00
Makefile_Eina_Cxx.am Revert "autotools: enable make check per individual modules." 2015-05-07 20:50:56 +02:00
Makefile_Eio.am Revert "autotools: enable make check per individual modules." 2015-05-07 20:50:56 +02:00
Makefile_Eio_Cxx.am cxx: Made automake files depend on their C counterparts for compilation 2015-04-14 01:06:57 -03:00
Makefile_Eldbus.am Revert "autotools: enable make check per individual modules." 2015-05-07 20:50:56 +02:00
Makefile_Eldbus_Cxx.am Revert "autotools: enable make check per individual modules." 2015-05-07 20:50:56 +02:00
Makefile_Elocation.am elocation test binary variables should not be defined if tests don't exist 2014-12-08 15:26:09 -05:00
Makefile_Elua.am elua: use a minimal app to avoid loading eolian at runtime 2015-05-07 11:56:59 +01:00
Makefile_Elua_Helper.am elua lib: tests for core dirs + fix core dirs 2015-05-06 15:05:21 +01:00
Makefile_Embryo.am
Makefile_Emile.am Revert "autotools: enable make check per individual modules." 2015-05-07 20:50:56 +02:00
Makefile_Emotion.am build: Do not show mkdir calls in silent mode 2015-05-07 11:15:12 +02:00
Makefile_Eo.am Revert "autotools: enable make check per individual modules." 2015-05-07 20:50:56 +02:00
Makefile_Eo_Cxx.am bindings/eo: Only install Eo.hh once to avoid failing double install 2015-04-20 09:12:34 +02:00
Makefile_Eolian.am Revert "autotools: enable make check per individual modules." 2015-05-07 20:50:56 +02:00
Makefile_Eolian_Cxx.am Revert "autotools: enable make check per individual modules." 2015-05-07 20:50:56 +02:00
Makefile_Eolian_Cxx_Helper.am autotools: fix non-verbose build output 2015-04-28 13:30:59 +01:00
Makefile_Eolian_Helper.am autotools: fix non-verbose build output 2015-04-28 13:30:59 +01:00
Makefile_Escape.am
Makefile_Ethumb.am build: Do not show mkdir calls in silent mode 2015-05-07 11:15:12 +02:00
Makefile_Ethumb_Client.am
Makefile_Evas.am libunibreak: Follow README rename in EXTRA_DIST for distcheck. 2015-05-08 14:29:13 +02:00
Makefile_Evas_Cxx.am Revert "autotools: enable make check per individual modules." 2015-05-07 20:50:56 +02:00
Makefile_Evil.am evil: fix dladdr() implementation, add 2 unit tests for evil. 2015-05-07 09:53:12 +02:00