* Previously by default i18n falg was not set so string localisation was not done.
* Desktop builds which don't use the spec file will by default not do localisation.
* Now use sys_string as source for translations
- Currently not all languages have po files in the system. Tested with Hindi, Korean and English
Change-Id: I97e14e124cefb8e32468d323c48969bc64eea381
Signed-off-by: Agnelo Vaz <agnelo.vaz@samsung.com>
Profile: $dali_profile
Data Dir (Read/Write): $dataReadWriteDir
Data Dir (Read Only): $dataReadOnlyDir
- Style Dir $STYLE_DIR
- Style $dali_style
+ Style Dir: $STYLE_DIR
+ Style: $dali_style
+ i18n: $enable_i18n
"
namespace
{
// todo Move this to adaptor??
-#define GET_LOCALE_TEXT(string) dgettext("elementary", string)
+#define GET_LOCALE_TEXT(string) dgettext("sys_string", string)
const std::string TEXT_SELECTION_POPUP_BUTTON_STYLE_NAME( "textselectionpopupbutton" );
const Dali::Vector4 DEFAULT_OPTION_PRESSED_COLOR( Dali::Vector4( 0.24f, 0.72f, 0.8f, 1.0f ) );
autoreconf --install
DALI_DATA_RW_DIR="%{dali_data_rw_dir}" ; export DALI_DATA_RW_DIR
DALI_DATA_RO_DIR="%{dali_data_ro_dir}" ; export DALI_DATA_RO_DIR
-%configure --enable-profile=%{dali_toolkit_profile} --with-style=%{dali_style_folder}
+%configure --enable-profile=%{dali_toolkit_profile} --with-style=%{dali_style_folder} --enable-i18n=yes
make %{?jobs:-j%jobs}
##############################