Giter Site home page Giter Site logo

Language Selection about janis HOT 6 CLOSED

cityofaustin avatar cityofaustin commented on August 27, 2024
Language Selection

from janis.

Comments (6)

cthibaultatx avatar cthibaultatx commented on August 27, 2024 1

@mateoclarke from a city staff member at Asian American Resource Center:
Hi Celine,

Thanks for calling us. Sorry for the late reply. Following are my personal point of view.

From my personal experience, I didn’t pay attention on the abbreviations. So I did some research, I noticed that they usually use simplified Chinese and Traditional Chinese. For Simplified Chinese, it is 简体中文,traditional Chinese is 繁體中文.

The abbreviation you mentioned is for typing Chinese on computer only. People will not use it in everyday life. If you want to tell people there has Chinese service for them, 简体中文 will be the best one for people reading simplified Chinese, and繁體中文 for people reading traditional Chinese.

Hope it helps! If you have any further questions, feel free to contact me.

Thanks,

from janis.

mateoclarke avatar mateoclarke commented on August 27, 2024 1

With PR #86 being the last of many stabs at this issue, I think we are good to close this issue.

from janis.

mateoclarke avatar mateoclarke commented on August 27, 2024

This will have significant interaction with the Joplin API. @benweatherman, we need to coordinate on how we flip the language switch and request that from the API instead. I'm also thinking about text in global site components like Headers and Footers and form validation/error text. I guess that should live as content data with translations in Joplin too? How would we add this to the Django models? Currently we are hardcoding from the mocks.

from janis.

mateoclarke avatar mateoclarke commented on August 27, 2024

Looks like you are already thinking about some of this in cityofaustin/joplin#17

from janis.

mateoclarke avatar mateoclarke commented on August 27, 2024

This PR #46 starts to work on language selection in terms of appearance, but only partially. And it has some discussion about the bigger picture problems yet to be solved:

  • the mechanics of setting a language cookie in the client for the server to access
  • updating routing to follow best practice, ex: austin.gov/es/.

from janis.

mateoclarke avatar mateoclarke commented on August 27, 2024

Another issue to solve here:

  • when a user has set a language, any link they click should be prefixed by the language code. We need to research if there is a react-router way to do this? Or how it might work without react router too.

from janis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.