Pedro can u create mongolian package on transifex.com plz so that we can invite other people to help the translation plz
Hi Batpurev,
I’ve added you to the Mongolian team and replied through Transifex. I’m converting this post to a Mongolian translation group now.
thank you Plourenco. we are now installing and customizing the indico we will start translation as soon as possible
Dear Plourenco,
MN translation is now completed and shareable to the community. Please consider including it as one of the optional language packs in the next release so that people don’t have to setup development environment and manually build the package to use it.
thank you
Batpurev
@Batpurev_Batchuluun since you were having some trouble with building your custom indico package, I built one based on the latest 2.3.x version. Feel free to test it:
indico-2.3.5.dev0+202104071059.0955193bca-py2-none-any.whl (50.6 MB)
Thank you so much. It is working
hi,
we need to fix date related translation shown on homepage. Searched strings on transifex but could not find exactly from where it is showing. Can you please tell us which string is used for below translation of dates.
thanks
Hi, I just tested locally and it works fine for me (at least it looks like it - since I don’t understand your language I can’t know for sure ;)):
we need to change the location of the day. Normally Day comes after Month so it should be like Mar 11 - Mar 13. In English 11 Mar - 13 Mar is fine but not with MN. So my question is which string should I search for to fix this. We need to change {day} {month}
into {month} {day}
Currently there’s no way to change this without changing the code in indico/modules/categories/controllers/util.py
:
def make_format_event_date_func(category):
def fn(event):
day_month = 'dd MMM'
def group_by_month(events, now, tzinfo):
def _format_tuple(x):
(year, month), events = x
return {'name': format_date(date(year, month, 1), format='MMMM yyyy'),
We should probably mark this as a translatable string…
I tried editing /opt/indico/.venv/lib/python2.7/site-packages/indico/modules/attachments/controllers/util.py
but cant find function named make_format_event_date_func
or similar string day_month = 'dd MMM'
Do you think I am looking at wrong file?
PS: until it becomes translatable string we need a work around.
sorry I was looking at wrong file. it is
/opt/indico/.venv/lib/python2.7/site-packages/indico/modules/categories/controllers/util.py
even if I changed the position of dd MMM
and MMMM yyyy
inside util.py code it does not help.
Did you restart uwsgi?
The date formats on the page are now translatable:
https://www.transifex.com/indico/indico/translate/#mn_MN/core-messages/321182899?q=translated%3Ano
Unless reordering is all you need, the documentation for this format string can be found here: Date and Time — Babel 2.7.0 documentation
restarting it got it done. Now the dates look normal. Thanks a lot.
Great, but please update it on transifex or it will not be included whenever we make a release containing your translation
Translated rather Changed the position of the months, days and years on Transifex
hi,
I am still trying to setup my dev environment but got following error on fresh install of Centos 7.9
what could be the reason?
thanks
Collecting flake8==3.9.1
Downloading flake8-3.9.1-py2.py3-none-any.whl (73 kB)
|████████████████████████████████| 73 kB 916 kB/s
Collecting flask-url-map-serializer==0.0.1
Downloading flask_url_map_serializer-0.0.1-py2.py3-none-any.whl (2.6 kB)
Collecting flask==1.1.2
Using cached Flask-1.1.2-py2.py3-none-any.whl (94 kB)
ERROR: Could not find a version that satisfies the requirement freezegun==1.1.0 (from -r requirements.dev.txt (line 55)) (from versions: 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.0.6, 0.0.7, 0.0.8, 0.0.9, 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.1.11, 0.1.12, 0.1.13, 0.1.14, 0.1.15, 0.1.16, 0.1.17, 0.1.18, 0.1.19, 0.1.19.1, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.6, 0.2.7, 0.2.8, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6, 0.3.7, 0.3.8, 0.3.9, 0.3.10, 0.3.11, 0.3.12, 0.3.13, 0.3.14, 0.3.15)
ERROR: No matching distribution found for freezegun==1.1.0 (from -r requirements.dev.txt (line 55))
(env) [indico@localhost src]$
My guess would be that you are on the master
branch (indico 3.0, python 3 only) instead of the 2.3-maintenance
branch (current stable 2.3.x version, for python 2.7).