thewca / worldcubeassociation.org

All of the code that runs on worldcubeassociation.org
https://www.worldcubeassociation.org/
GNU General Public License v3.0
326 stars 175 forks source link

Language Translations on Competition Pages #3175

Open cubewhiz opened 6 years ago

cubewhiz commented 6 years ago

Currently, the way that most competitions display multiple languages is to repeat the same information two or more times directly underneath. Here is an example: https://www.worldcubeassociation.org/competitions/SwissNationals2018

This causes the Information and Registration requirements to become quite long and take up much more space on the page than necessary.

I think it would be friendlier to allow a drop-down selection (or equivalent) within a tab or page to switch between languages. This would require the organizer/Delegate to select which languages they would like to offer the page in and then provide translations of that information in each of the selected languages. What I imagine is that in the Edit tab page, there would be some sort of toggle that allows the organizer/Delegate to enter the information in each language. The same would be available for the Information and Registration Requirements fields.

AlbertoPdRF commented 6 years ago

I like this idea for the information field. However, this won't be necessary for the registration requirements one, as they will be pre-translated as soon as I finish with #2999, to which I'll try to dedicate some time this weekend.

cubewhiz commented 6 years ago

I forgot until recently that we actually have a Motion (12.2017.1) that dictates that the online services of WCA competitions should be available in American English. From the Motion:

For WCA Competitions, the online services and on-site announcements may be in local languages, but should be available in American English in case of participation of non-native speakers of the local languages.