Skip to content

i18n support #1775

Open
Open

Description

@johnfelipe

I want contribute for translate UI to es, de, de and it if you share strings

Activity

  1. sachaj commented on Aug 31, 2022

    @sachaj

    I also would like a French version UI and am prepared to contribute to this translation.

    Having worked an i18n project in the past, there can be complexities with the strings and the various grammars and syntaxes, depending on how things are set up.
    It's a pretty big job to retroactively i18n-ify things, but for us at least we have requirements to provide French-language interfaces at our University, so I would be willing to participate in this initiative.

  2. johnfelipe commented on Aug 31, 2022

    @johnfelipe
    Author

    I want contribute if strings is in pot file, or Json, yml, yaml, Js or other type ..

  3. simonw commented on Sep 1, 2022

    @simonw
    Owner

    OK, I'm convinced that it's time to start figuring this out.

    I've done a little bit of this with Django in the past, but Datasette isn't built on Django.

    It looks to me like the key library for implementing this is Babel: https://babel.pocoo.org/en/latest/

    It's been around since 2007 and is very widely used: https://github.com/python-babel/babel/network/dependents?package_id=UGFja2FnZS01MDM0NTU3NQ%3D%3D

    Also found these hints on getting it to work with Jinja: https://stackoverflow.com/questions/12046998/babel-doesnt-recognize-jinja2-extraction-method-for-language-support

  4. simonw commented on Sep 1, 2022

    @simonw
    Owner

    My hope is that Datasette actually has a relatively small i18n footprint - there really aren't that many screens with strings that will need translating.

    Translating the documentation would be a much bigger task, but that's not a blocker on getting the interface itself internationalized.

  5. johnfelipe commented on Sep 1, 2022

    @johnfelipe
    Author

    I want to begin translation to es and it documentation, if u like i would do PR asap.
    But user interface, frontend and backend is a good feature be i18n support.
    When you have may be .pot file I can translate to, or Json file with all strings for internationalized

  6. simonw commented on Sep 1, 2022

    @simonw
    Owner

    I don't want to start any efforts around documentation translation until after the Datasette 1.0 release, because I'd like to be confident that we're not translating documentation that may have some big changes before Datasette is fully stable!

  7. johnfelipe commented on Sep 1, 2022

    @johnfelipe
    Author
  8. metamoof commented on Feb 10, 2023

    @metamoof

    Is this where we talk about i18n of results? Or is that a separate thread.

    e.g. Having country_long show España in the Spanish version of the global power plants demo site instead of Spain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions