Follow-up about "Language configuration not editable any more"

Ri: Re: Follow-up about "Language configuration not editable any more"

by Andrea Bicciolo -
Number of replies: 7
Picture of Language pack maintainers

There are no problems from my side in being unable to translate langconfig.php, however not sure to get if the lanconfig.php will be centrally edited to satisfy local language conventions which differs from country to country.

I recall in the past I had to change some lanconfig strings to adhere to Italian language conventions, from simple things like 24 hours format to more complex adaptation of date shown in several parts of Moodle, such as logs.

If conventions will be adapted centrally by HQ, I'm happy to keep lancongif non editable by translators.

In reply to Andrea Bicciolo

Re: Ri: Re: Follow-up about "Language configuration not editable any more"

by koen roggemans -
Picture of Language pack maintainers

I think only native speakers can edit langconfig., so changes should be requested with a tracker issue.

The problem is that langconfig with the last commit starts to contain more then pure technical things - what it was intended to contain.

In reply to koen roggemans

Re: Ri: Re: Follow-up about "Language configuration not editable any more"

by koen roggemans -
Picture of Language pack maintainers
I wrote a langconfig improvement proposel on https://tracker.moodle.org/browse/MDL-79461
Fire at will.
In reply to koen roggemans

Re: Ri: Re: Follow-up about "Language configuration not editable any more"

by German Valero -
Picture of Language pack maintainers
Thanks for the proposal Koen. A move in the right direction.
In reply to koen roggemans

Re: Ri: Re: Follow-up about "Language configuration not editable any more"

by koen roggemans -
Picture of Language pack maintainers
I have rewritten the proposal, converted it to a solvable bug report (because it is a bug now - those 120+ strings are not translatable anymore) on https://tracker.moodle.org/browse/MDL-79461
I made a separate issue about using Unicode CLDR on https://tracker.moodle.org/browse/MDL-79545
I made a not so great proposal on how to solve the YES/NO problem for the questioniconfollowlangdirection https://tracker.moodle.org/browse/MDL-78983
In reply to koen roggemans

Re: Follow-up about "Language configuration not editable any more"

by Ralf Krause -
Picture of Language pack maintainers

Hi Koen,

if the langconfig.php is intended to contain only a pure technical things as the name of the language pack and all the dependences from parent language, the iso font sets and so on then the langconfig.php could be protected. But currently we got a lot of additions which should stay in a different language file.

With the new strings in langconfig.php we will get a lot of problems but this is different discussion. You can take the english string "%a days %h hours %i minutes" as an example. What do you think about the result "1 days 1 hours 1 minutes".  And it can't be a solution to change the string to "1 day(s) 1 hour(s) 1 minute(s)".

Ralf

In reply to Ralf Krause

Re: Follow-up about "Language configuration not editable any more"

by koen roggemans -
Picture of Language pack maintainers

Yes Ralph, that's my point.

In the bug report I make 2 suggestions:

- move the datestrings to a separate file

- get such and a load of other translated strings from https://cldr.unicode.org/ instead of duplicating the work