Giter Club home page Giter Club logo

Comments (31)

flodolo avatar flodolo commented on July 18, 2024 1

Some links in the meantime
https://www.npmjs.com/package/pontoon-to-webext

File structure requested by Pontoon
https://developer.mozilla.org/en-US/docs/Mozilla/Implementing_Pontoon_in_a_Mozilla_website

Pontoon can commit in master or in a branch, like it happens for SnoozeTabs.

Is this a TestPilot experiment?

from notes.

flodolo avatar flodolo commented on July 18, 2024 1

The user needing access is: https://github.com/mozilla-pontoon

Also cc @mathjazz, so he's aware of the incoming invite.

P.S. you can ping random people in comments, you just need to type their nicknames completely, autocomplete is available only for collaborators of the project

from notes.

 avatar commented on July 18, 2024

/cc @flodolo

from notes.

flodolo avatar flodolo commented on July 18, 2024

This is one confusing issue subject :-) I'd suggest "Add localization support".

I'm happy to answer questions if you have, I took a quick look at the repository and couldn't spot any string, so you might check at other repositories to see how they manage extracting strings to .properties, etc.

from notes.

vladikoff avatar vladikoff commented on July 18, 2024

Sorry, I typed it during the meeting. Updated

from notes.

vladikoff avatar vladikoff commented on July 18, 2024

Is this a TestPilot experiment?

Yeap!

from notes.

Natim avatar Natim commented on July 18, 2024

Questions

  • What are the steps to configure Pontoon?
  • Are there any missing steps you can see?
  • Do we have to do anything to configure browser.i18n?

from notes.

flodolo avatar flodolo commented on July 18, 2024

What are the steps to configure Pontoon?

That's on me as soon as soon as you create the en-US file. You'll need to tell me which repository (I assume this one) or branch to commit to, and give Pontoon's bot access to the repository.

Are there any missing steps you can see?

I'd really like to avoid having an hard-coded list of locales (I didn't realize SnoozeTabs has one), because it's easy to forget to update it. I'm not sure how Activity Stream does it, but I don't think they use an hard-coded list.
https://github.com/mozilla/activity-stream/blob/master/docs/v1-test-pilot/localization.md

Do we have to do anything to configure browser.i18n?

I don't think so, but some technical details are also beyond my area of expertize.

from notes.

vladikoff avatar vladikoff commented on July 18, 2024

From mtg:

  • Let's add the en-US file ASAP
  • Figure out how to npm start with an RTL locale

from notes.

udaraweerasinghege avatar udaraweerasinghege commented on July 18, 2024

I can't tag you in the pr comments @flodolo ._.
Will this be sufficient for configuring pontoon on your end : #95

from notes.

flodolo avatar flodolo commented on July 18, 2024

Will this be sufficient for configuring pontoon on your end : #95

How complete is that localization file, i.e. how many strings are missing? I'm not sure if it makes sense to start localization if the file is far from complete.

If it's just for testing Pontoon automation, I can set it up on the dev version and try to see if it can commit (still not sure if you want commits in master or a branch).

At some point we will also need an easy way to test the dev add-on, possibly without having to install it from code (not all localizers are necessarily tech savvy).

from notes.

udaraweerasinghege avatar udaraweerasinghege commented on July 18, 2024

Thanks for taking a look!

How complete is that localization file, i.e. how many strings are missing? I'm not sure if it makes sense to start localization if the file is far from complete.

The localization file is complete with all the strings currently in the project, as well as a couple extra that are in the designs but not in the project.

If it's just for testing Pontoon automation, I can set it up on the dev version and try to see if it can commit (still not sure if you want commits in master or a branch).

^^ cc: @vladikoff

from notes.

vladikoff avatar vladikoff commented on July 18, 2024

@mathjazz @flodolo added @mozilla-pontoon to the repo 👍

from notes.

flodolo avatar flodolo commented on July 18, 2024

I'll try to hook the repo tomorrow morning for a test (in case you'll see an incoming Italian localization).

from notes.

flodolo avatar flodolo commented on July 18, 2024

@vladikoff commit to master or a branch?

from notes.

flodolo avatar flodolo commented on July 18, 2024

A few more questions (I'll ask them here instead of #95, since that's already closed):

  • Is Sync intended as generic synchronization, or Firefox Sync?
  • syncComplete=Synced. Looking at the designs, do you expect to put a date after this string?
  • Looks like "Verify Your Account" is not available in the file. Expected?
  • What's the usage of "Notes" at the top of the panel?

from notes.

flodolo avatar flodolo commented on July 18, 2024

Is Sync intended as generic synchronization, or Firefox Sync?

@Natim already answered this one (generic sync), I'll need to add a comment in the file. Sorry for the confusion, since you saw my comment disappear in the other PR.

from notes.

Natim avatar Natim commented on July 18, 2024

syncComplete=Synced. Looking at the designs, do you expect to put a date after this string?

Yes

Looks like "Verify Your Account" is not available in the file. Expected?

Yes, we know we will need this string but for this first version we removed the code related to synchronization and account management.

What's the usage of "Notes" at the top of the panel?

That's the title of the sidebar/add-on.

from notes.

flodolo avatar flodolo commented on July 18, 2024

That's the title of the sidebar/add-on.

Is that expected to be non localizable and identical to the add-on name?

from notes.

Natim avatar Natim commented on July 18, 2024

Can we localize the name of the add-on? My understanding is that the value is coming from the manifest.json file directly.

from notes.

flodolo avatar flodolo commented on July 18, 2024

No, we can't. That's why I'm asking if the plan is to basically use the add-on names, or if it's a generic "annotations". For the latter, we would need a localizable string.

from notes.

Natim avatar Natim commented on July 18, 2024

@vladikoff commit to master or a branch?

I think it is fine to commit localization directly to master since the review process happens in Pontoon already.

from notes.

flodolo avatar flodolo commented on July 18, 2024

Localization is working
b96d768
a1b6abd

At this point we could enable it on the prod server. A couple more questions:

  • Does this description make sense?
  • Any idea when this will be added to Test Pilot experiments? It will be a bit hard to engage volunteers without knowing that information

from notes.

flodolo avatar flodolo commented on July 18, 2024

Correct link to current description: https://mozilla-pontoon-staging.herokuapp.com/projects/test-pilot-notes/info/

from notes.

Natim avatar Natim commented on July 18, 2024

Does this description make sense?

Yes

Any idea when this will be added to Test Pilot experiments?

First weeks of July.

from notes.

flodolo avatar flodolo commented on July 18, 2024

First weeks of July.

OK, I'm going to enable the project and send an email out to localizers. I'll also enable French: note that you will be able to submit suggestions, but you'll need someone to review them (CC @TheoChevalier so he's aware).

from notes.

flodolo avatar flodolo commented on July 18, 2024

On a side note: I wonder if you want to (and can) disable CI on these commits.

from notes.

flodolo avatar flodolo commented on July 18, 2024

Project is set up on prod
https://pontoon.mozilla.org/projects/test-pilot-notes/

Email sent to dev-l10n
https://groups.google.com/d/msg/mozilla.dev.l10n/axPllXUlh34/mjlfMMaiAwAJ

This discussion might be useful for the date part
bwinton/SnoozeTabs#206

from notes.

flodolo avatar flodolo commented on July 18, 2024

Last thing to note: the policy for updating strings is the same as Firefox
https://developer.mozilla.org/en-US/docs/Mozilla/Localization/Localization_content_best_practices#Changing_existing_strings

If you want your change to be noticed and considered by other languages, you need to change the string ID.

from notes.

vladikoff avatar vladikoff commented on July 18, 2024

Thanks so much @flodolo !

from notes.

vladikoff avatar vladikoff commented on July 18, 2024

Thanks @udaraweerasinghege !! This was fixed

from notes.

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.