Evgenii Legotckoi
Evgenii LegotckoiSept. 2, 2022, 6:06 a.m.

Analysis of errors in the development and promotion of a site on Django - Multilingual forms

Content

With this publication, I would like to start sharing my observations after almost seven years of supporting the EVILEG project. So that every newbie could roughly understand and imagine whether it is worth doing a similar or different functionality or not.

Well, think for yourself, there are things that you can spend a lot of time on, but as a result, no one will use it, or almost no one. As a result, your hands will begin to give up and the desire to develop your project further will disappear. Personally, this situation is quite regular and unpleasant for me. After all, on the one hand, you see how you can use such functionality, and on the other hand, who needs it at all? Let's look at the example of multilingual forms.

At the time of this writing, I still have the ability to edit the article in multiple languages. Below is a screenshot example.

But I deliberately decided to remove this feature, since no one uses it except me anyway. Such functionality can be used as an internal functionality in the site administration panel, which will allow you to edit the content of the article in different languages, or you can connect some API for automatic translations and add the "Show original" button to the site.

I see the reason for this problem is that companies need such things, and if you give such functionality to an ordinary user, then he sees no reason to use it. He doesn't need it.

The same applies to another separate category of users - these are SPAMers who publish articles. I like these guys more than bots that write the same comments on everything they can reach. In fact, sometimes they even publish interesting material, although not unique. But they don't even bother adding an article in several languages. And honestly, they just add text to the first available field with the name - "Content". So if you have multilingual support, then why not allow publication by making automatic translation into all other languages.

Conclusion

Therefore, after this publication, I will remove this functionality so as not to fool either myself or others. And I will use automatic translations into several languages.

By the way, this is exactly what I did with my other project - Pulsum Via .
On Pulsum Via, I have added automatic translations with the ability to show the original text.

We recommend hosting TIMEWEB
We recommend hosting TIMEWEB
Stable hosting, on which the social network EVILEG is located. For projects on Django we recommend VDS hosting.

Do you like it? Share on social networks!

NSProject
  • Sept. 2, 2022, 8:30 a.m.

Это один наверное из немногих действительно полезных ресурсов что я встречал. Собственно по этому и решил зарегистрироваться. Много полезной информации так сказать. И вот тема автоматического перевода статей сайта давольно интересна. Больше интересно как это сделать можно?

Evgenii Legotckoi
  • Sept. 2, 2022, 8:41 a.m.

На данный момент я используют Google Translate API. Перевод полуавтоматический пока что, поскольку там есть лимиты на бесплатное использование. Поэтому есть код, который выполняет перевод, но я запускаю этот код вручную для выбранных статей. В будущем планирую автоматизировать, но это только в планах.
По поводу того, как это реализовать, я напишу статью позже.

Владислав Меленчук
  • Sept. 2, 2022, 9:37 a.m.

Аналогичная ситуация, оставил лишь основной язык - русский. Остальное в админке переведу. Все правильно.

NSProject
  • Sept. 2, 2022, 10:04 a.m.

Будем ждать статью.

Comments

Only authorized users can post comments.
Please, Log in or Sign up
MB

Qt - Test 001. Signals and slots

  • Result:57points,
  • Rating points-2
MB

C++ - Test 001. The first program and data types

  • Result:60points,
  • Rating points-1
GK

C++ - Test 005. Structures and Classes

  • Result:0points,
  • Rating points-10
Last comments
J
JonnyJoJune 9, 2023, 12:14 a.m.
Qt/C++ - Lesson 019. How to paint triangle in Qt5. Positioning shapes in QGraphicsScene Евгений, здравствуйте! Решил поэкспериментировать немного с кодом из этого урока, нарисовать вместо треугольника квадрат и разобраться с координатами. В итоге, запутался. И ни документация,…
J
JonnyJoMay 26, 2023, 2:24 a.m.
How to make game using Qt - Lesson 2. Animation game hero (2D) Евгений, благодарю!
Evgenii Legotckoi
Evgenii LegotckoiMay 25, 2023, 4:49 p.m.
How to make game using Qt - Lesson 2. Animation game hero (2D) Код на строчка 184-198 вызывает перерисовку области на каждый 4-й такт счётчика. По той логике не нужно перерисовывать объект постоянно, достаточно реже, чем выполняется игровой слот. А слот вып…
J
JonnyJoMay 21, 2023, 10:49 p.m.
How to make game using Qt - Lesson 2. Animation game hero (2D) Евгений, благодарю! Всё равно не совсем понимаю :( Если муха двигает ножками только при нажатии клавиш перемещение, то что, собственно, делает код со строк 184-198 в triangle.cpp? В этих строчка…
Evgenii Legotckoi
Evgenii LegotckoiMay 21, 2023, 5:57 p.m.
How to make game using Qt - Lesson 2. Animation game hero (2D) Добрый день. slotGameTimer срабатывает по таймеру и при каждой сработке countForSteps увеличивается на 1, это не зависит от нажатия клавиш, нажатая клавиша лишь определяет положение ножек, котор…
Now discuss on the forum
T
TwangerJune 7, 2023, 11:12 p.m.
Ошибка при выполнении триггерной функции (GreenPlum) Есть 3 таблицы fact_amount со структурой: CREATE TABLE fact_amount ( id serial4 NOT NULL, fdate date NULL, type_activity_id int4 NULL, status_id int4 NULL, CONSTRAINT fact…
AR
Alexander RyabikovJune 7, 2023, 1:35 a.m.
Работа с QFileSystemModel Вопросик по теме QFileSystemModel в Linux. Он, как и положено, обновляется самостоятельно, если директория локальная. Но, вот, сетевая папка (у меня шара samba) не обновляется. Как её можно…
Evgenii Legotckoi
Evgenii LegotckoiApril 16, 2023, 4:07 p.m.
Мобильное приложение на C++Qt и бэкенд к нему на Django Rest Framework Да, это возможно. Но подобные вещи лучше запускать через celery. То есть drf принимает команду, и после этого регистрирует задачу в celery, котроый уже асинхронно всё это выполняет. В противном …
АБ
Алексей БобровDec. 15, 2021, 8:03 a.m.
Sorting the added QML elements in the ListModel I am writing an alarm clock in QML, I am required to sort the alarms in ascending order (depending on the date or time (if there are several alarms on the same day). I've done the sorting …

Follow us in social networks