GithubHelp home page GithubHelp logo

mozilla-l10n / android-l10n Goto Github PK

View Code? Open in Web Editor NEW
18.0 9.0 26.0 158.66 MB

Cross-product and -branch l10n repository for Mozilla Android projects

License: Mozilla Public License 2.0

mozpm-delphine

android-l10n's Introduction

Android Cross-Product Localization Repository

This repository stores the unified English files from the Android projects participating, and the localized files for them.

Localization happens on Pontoon. Please get in touch with delphine (at) mozilla (dot) com directly for more information.

String Updates

Automation is used to extract daily new English strings from the code repositories. It’s possible to invoke automation manually for each individual project.

TOML Files

Each project has its own l10n project configuration file, e.g. mozilla-mobile/android-components/l10n.toml for android-components.

The TOML files in the root of the repository are used in Pontoon:

android-l10n's People

Contributors

aalam avatar abelardo-py avatar ag12r avatar andy-moz avatar circcc avatar crayxt avatar delphine avatar enolp avatar fjoerfoks avatar gaby2300 avatar ibragimov avatar itielman avatar jimsp472000 avatar jsyanis avatar karm46 avatar koehlermichael avatar marceloghelman avatar markh-bz avatar marsf avatar meskobalazs avatar milupo avatar mpqadir avatar petercpg avatar piotrdrag avatar pocmo avatar ravmn avatar rprys avatar theochevalier avatar upwinxp avatar zirisut avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

android-l10n's Issues

Add Lockbox to Shared Android L10n System

Please add a new Android project to the cross-product Android localization repository (this repository).

Product in shared l10n system

We've read the documentation on the mana and would like to use

Separate files

Our strings.xml file gets its own copy in this repository.

We'll ask to unify that file across versions from master and release branches, allowing for dot releases to be shipped from these localizations, including l10n updates.

https://github.com/mozilla-lockbox/lockbox-android/blob/master/app/src/main/res/values/strings.xml

First steps taken

https://github.com/mozilla-l10n/android-l10n/projects/6

  • Our technical string review was tracked in mozilla-lockwise/lockwise-android#204. That's where we make sure strings have comments to explain parameters to localizers and ambiguous strings are clarified.
  • There was then a copy-review completed tracked in mozilla-lockwise/lockwise-android#248
  • We've maintained strings with translator comments since then
  • Our initial target market and locale list is matches Firefox's priority locales including:
    • French
    • German
    • Spanish
    • Italian
  • The l10n infrastructure integration tracking is here: mozilla-lockwise/lockwise-android#519

Add en-GB to Lockwise

Please add my locale to an existing product contained within the android-l10n repository (this repository). Note that this request must be approved - or made - by a locale manager.

Product Name:

Locale Requested:

You will be notified here once your locale has been enabled on Pontoon. Please note that actual localization work should then happen through Pontoon here, and not through pull requests in this repository. A specific link to the Pontoon folder will also be sent here.

For any other Mozilla project localization request (such as Firefox, Firefox for iOS, mozila.org, etc), please follow the standard process that can be found here.

Add [su] to [fenix]

Please add my locale to an existing product contained within the android-l10n repository (this repository). Note that this request must be approved - or made - by a locale manager.

Product Name: Fenix

Locale Requested:

You will be notified here once your locale has been enabled on Pontoon. Please note that actual localization work should then happen through Pontoon here, and not through pull requests in this repository. A specific link to the Pontoon folder will also be sent here.

For any other Mozilla project localization request (such as Firefox, Firefox for iOS, mozila.org, etc), please follow the standard process that can be found here.

Add [uk] to [Lockwise Android]

Please add my locale to an existing product contained within the android-l10n repository (this repository). Note that this request must be approved - or made - by a locale manager.

Product Name:

Locale Requested:

You will be notified here once your locale has been enabled on Pontoon. Please note that actual localization work should then happen through Pontoon here, and not through pull requests in this repository. A specific link to the Pontoon folder will also be sent here.

For any other Mozilla project localization request (such as Firefox, Firefox for iOS, mozila.org, etc), please follow the standard process that can be found here.

Add [locale] to [product]

Please add my locale to an existing product contained within the android-l10n repository (this repository). Note that this request must be approved - or made - by a locale manager.

Product Name:

Locale Requested:

You will be notified here once your locale has been enabled on Pontoon. Please note that actual localization work should then happen through Pontoon here, and not through pull requests in this repository. A specific link to the Pontoon folder will also be sent here.

For any other Mozilla project localization request (such as Firefox, Firefox for iOS, mozila.org, etc), please follow the standard process that can be found here.

Add en-GB to Fenix

Please add my locale to an existing product contained within the android-l10n repository (this repository). Note that this request must be approved - or made - by a locale manager.

Product Name:

Locale Requested:

You will be notified here once your locale has been enabled on Pontoon. Please note that actual localization work should then happen through Pontoon here, and not through pull requests in this repository. A specific link to the Pontoon folder will also be sent here.

For any other Mozilla project localization request (such as Firefox, Firefox for iOS, mozila.org, etc), please follow the standard process that can be found here.

Set locale list for Fenix to get going

Right now, we don't have an explicit locale list for Fenix.

By incidence, it's using what we have on android-components, and that's also exposed on pontoon right now:

locales = [
  "de",
  "es",
  "fr",
  "it",
  "ja",
  "ko",
  "zh-CN",
  "zh-TW",
]

We have strings in git for de, fr, it, zh-CN, zh-TW. I know that there are suggestions for at least es. As of now, not for Korean yet.

Least surprises for people would be to just add this exact list for now, and then expand soon after?

CC @Delphine

CODE_OF_CONDUCT.md file missing

As of January 1 2019, Mozilla requires that all GitHub projects include this CODE_OF_CONDUCT.md file in the project root. The file has two parts:

  1. Required Text - All text under the headings Community Participation Guidelines and How to Report, are required, and should not be altered.
  2. Optional Text - The Project Specific Etiquette heading provides a space to speak more specifically about ways people can work effectively and inclusively together. Some examples of those can be found on the Firefox Debugger project, and Common Voice. (The optional part is commented out in the raw template file, and will not be visible until you modify and uncomment that part.)

If you have any questions about this file, or Code of Conduct policies and procedures, please see Mozilla-GitHub-Standards or email [email protected].

(Message COC001)

Adding translator/manager role to "kaa" locale

This contributor recently contacted me to translate mobile projects in Karakalpak.
I noticed that right now, no one has any rights for this locale on Pontoon in order to approve any suggestions. Which means we need to upgrade some users rights, so that they can actually have their work published.
I am therefore suggesting to add Ali as manager for this locale. They will therefore be able to approve suggestions over the board across projects.
Francis from Common Voice has asked me to give a heads-up to @beknazar about this. Not sure what the current situation is, and if you also need to be upgraded with rights on Pontoon.
Feel free to reach out with any questions whatsoever. Thank you

License comments are lost when moving files from firefox-android

Originally noticed in mozilla-mobile/firefox-android#1637

CCing a bunch of people, because there are a ton of moving parts here @gabrielluong @Delphine @mathjazz @eemeli

The en-US files loose the license comment when moved to android-l10n. See (this file), compared to the file in the firefox-android repository.

Original file

<?xml version="1.0" encoding="utf-8"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<resources>

android-l10n file

<?xml version="1.0" encoding="utf-8"?>
<resources>

The en-US file is not copied, it's parsed by compare-locales here. I did this to avoid a diff with the previous infrastructure (android-l10n-tooling). Which means compare-locales strips out that comment.

Possible ways out:

  • Replace parse+serialize with a dumb copy. There will be a diff for some strings, but what I don't know is what Pontoon is going to do with that comment: is it going to be serialized when a locale is updated?
  • Update compare-locales to special case comments for licenses.

I also don't know if that comment is the right way to go. For example, I see XML files in mozilla-central that have the comment at the very beginning of the file. That would probably make the compare-locales solution easier, but I don't know if that even works for Android.

Add en-GB to Firefox Reality

Please add my locale to an existing product contained within the android-l10n repository (this repository). Note that this request must be approved - or made - by a locale manager.

Product Name:

Locale Requested:

You will be notified here once your locale has been enabled on Pontoon. Please note that actual localization work should then happen through Pontoon here, and not through pull requests in this repository. A specific link to the Pontoon folder will also be sent here.

For any other Mozilla project localization request (such as Firefox, Firefox for iOS, mozila.org, etc), please follow the standard process that can be found here.

Add zh-TW to Lockwise Android

Please add my locale to an existing product contained within the android-l10n repository (this repository). Note that this request must be approved - or made - by a locale manager.

Product Name: Lockwise Android

Locale Requested: zh-TW

You will be notified here once your locale has been enabled on Pontoon. Please note that actual localization work should then happen through Pontoon here, and not through pull requests in this repository. A specific link to the Pontoon folder will also be sent here.

For any other Mozilla project localization request (such as Firefox, Firefox for iOS, mozila.org, etc), please follow the standard process that can be found here.

Recently modified Corsican strings not refreshed on Nightly

Hello,

I recently modified several strings for Corsican locale on Pontoon and there are not published on latest Nightly builds.

Here is an example of the modified strings:
Corsican locale for Fenix - Recent on Pontoon

They have been properly stored on GitHub:
Corsican locale for Fenix - Latest history data

But here is the screen displayed today on Android:
Corsican locale for Fenix - Settings - Search

As well as the About screenshot:
Corsican locale for Fenix - About Firefox Nightly

Please can you check?

Cheers,
Patriccollu.

Add Firefox Reality to Shared Android L10n System

Please add a new Android project to the cross-product Android localization repository (this repository).

Project Name: Firefox Reality
Project Repository: https://github.com/MozillaReality/FirefoxReality

Product in shared l10n system

We've read the documentation on the mana and would like to use separate files generated from strings.xml.

First steps taken

An issue for updating the stale strings for Firefox Reality is tracked in MozillaReality/FirefoxReality#1072.

Thank you in advance for your help, and thanks again for all the help getting our localised FxR version 1.1 release out the door.

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.