Switch to English?
Yes
Переключитись на українську?
Так
Переключиться на русскую?
Да
Przełączyć się na polską?
Tak
Post your project for free and start receiving proposals from freelancers within minutes after publication!

C++, hello world with gettext on Windows (VS2017)

Translated7 USD

Applications 1

Application viewing is only available registered users.

Client's review of cooperation with freelancer

Quality
Professionalism
Cost
Contactability
Deadlines

The result of the employment is satisfied, the person is truly a specialist in his field.

Freelancer's review of cooperation with Vladimirovich Denis

Payment
Task setting
Clarity of requirements
Contactability

A great customer, it was a pleasure to work.

Profile deleted | Safe Safe

  1. 1036    44  0
    1 day16 USD

    Ready to help right now.
    The price/quality ratio was invented by the Chinese. The prices are winning.
    It cannot be divided into zero.

  2. Another 2 proposals concealed
  • Vlad Skif
    5 July 2019, 12:00 |

    Добрый день! Можете весь проект скинуть?

  • Vladimirovich Denis
    5 July 2019, 12:14 |

    И вот h-файлы самой библиотеки: https://drive.google.com/open?id=151i8ktXockNST4PN6ye6u6SLbx-_Tkkn

  • Vlad Skif
    5 July 2019, 12:35 |

    Что-то у меня ваш проект ошибки выдает... 

    Попробуйте обернуть ваш текст который нужно перевести в функцию gettext

    Должно получиться что-то типа

    cout<<gettext(<ваш текст>)<<endl;

  • Vladimirovich Denis
    5 July 2019, 12:38 |

    Вот так: std::cout << gettext("Hello, world!") << std::endl; уменя тоже нормально собирается.

    Какие ошибки возникают? Там вы путь к библиотеке и путь h файлам должны прописать правильно (в проекте мои пути прописаны)

  • Vlad Skif
    5 July 2019, 12:43 |

    "Вот так: std::cout << gettext("Hello, world!") << std::endl; уменя тоже нормально собирается. "

    Так а что тогда нужно? Эта функция должна переводить текст с учетом установленной локализации.

  • Vladimirovich Denis
    5 July 2019, 12:54 |

    Верно. Должна переводить, но у меня не переводит. Локализация Windows у меня русская, но все равно выводится сообщение на английском. В этом и суть проекта - сделать рабочий вариант, который будет все переводить.

  • Profile deleted
    5 July 2019, 17:50 |

    gettext - это не переводчик, она просто заменяет строки (в соответствии с локалью или другими параметрами).

    В вашем проекте нет строк на русском...

    См. подсказки .

  • Vladimirovich Denis
    5 July 2019, 18:13 |

    Конечно же мне известно что это не переводчик, и что файл перевода находится в *.mo файле.

  • Profile deleted
    5 July 2019, 19:20 |

    Проверьте, какая locale устанавливается при вызове:

        std::cout << setlocale(LC_ALL, "") << std::endl;

    Попробуйте принудительно установить "ru":

       setlocale(LC_ALL, "ru")

    Если не поможет, наверное, вы столкнулись с проблемой типа C++ gettext doesn't translate (Windows 8.1)


Current freelance projects in the category C & C++

Black Ukraine (RP-project on base MTA)

1162 USD

Fixing bugs of varying complexity, like those pictured. Map navigation adjustments. Fixing map holes, adapting vehicles to the project, removing logos, or rewriting them.

C & C++Python ∙ 1 day 3 hours back ∙ 12 proposals

Residential Proxy Infrastructure Engineer

We're building a residential proxy network from scratch — fully owned, no third-party suppliers. We need one exceptional network engineer to build the entire technical foundation. What you'll build: - Android background SDK that routes proxy traffic through user devices…

C & C++DevOps ∙ 5 days 11 hours back ∙ 13 proposals

Improvement in the existing version of 1C retail block for the distribution center (DC)

In general, I will explain what kind of database we have - There is a main server where there is a retail database (where all receipts are recorded) - a UTP database - where all sales are transferred - it calculates the markup and stock balances - small databases of retail…

C & C++C# ∙ 6 days 2 hours back ∙ 6 proposals

About the Master Program "KONSTRUCTOR"

4182 USD

We are looking for a very experienced C++ developer to modernize existing software (master program). The program is responsible for creating derivative software representing audio-visual sessions of psychological correction. The current version is written in pure WinAPI (Visual…

C & C++Desktop Apps ∙ 11 days 5 hours back ∙ 19 proposals

Writing code for Arduino

It is necessary to develop software for a weight dispenser based on Arduino Uno. Components: Arduino Uno R3 HX711 + load cell LCD1602 I2C display MAX7219 LED matrix 8x32 5 control buttons 4-channel relay 2 signal lamps Coarse dosing vibrator Precise dosing vibrator Operation…

C & C++Embedded Systems & Microcontrollers ∙ 12 days 14 hours back ∙ 15 proposals

Client
Vladimirovich Denis
Ukraine Kyiv  5  0
Project published
6 years back
141 views