Re: [cmake-developers] [DISCUSSION] CMake Localization (L10N)

2017-04-19 Thread Alex Turbov
absolutely agreed. On Wed, Apr 19, 2017 at 1:52 PM, Domen Vrankar wrote: > 2017-04-18 19:16 GMT+02:00 Konstantin Podsvirov > : > >> Draft code: >> >> > set(GREETING "greeting message" # Optional default value >> > en "Hello, world!" >> > ru

Re: [cmake-developers] [DISCUSSION] CMake Localization (L10N)

2017-04-19 Thread Brad King
On 04/19/2017 02:52 AM, Domen Vrankar wrote: > I somewhat understand the wish of non programmers to see text in > their own language but for developers english is de facto programming > standard language so I don't see a reason for such an addition. This is a good point. I'd be hesitant to move

Re: [cmake-developers] [DISCUSSION] CMake Localization (L10N)

2017-04-19 Thread Domen Vrankar
2017-04-18 19:16 GMT+02:00 Konstantin Podsvirov : > Draft code: > > > set(GREETING "greeting message" # Optional default value > > en "Hello, world!" > > ru "Привет, мир!") > > > > set(CMAKE_OUTPUT_LOCALE "en") # Or CMAKE_L10N_LOCALE... > > > >

[cmake-developers] [DISCUSSION] CMake Localization (L10N)

2017-04-18 Thread Konstantin Podsvirov
Draft code: > set(GREETING "greeting message" # Optional default value > en "Hello, world!" > ru "Привет, мир!") > > set(CMAKE_OUTPUT_LOCALE "en") # Or CMAKE_L10N_LOCALE... > > message("$L10N{GREETING}") # Hello, world! > > set(CMAKE_OUTPUT_LOCALE "fr") > > message("$L10N{GREETING}") #