Comments (13)
Presentiments
- You have added you languages code name in Linguas
- You have saved you changes
Programs Needed
- Gnome Builder
Steps to Preview Changes
-
Open gnome builder
-
At runtime Enviroment add LANGUAGE=yourLanguageCode for example LANGUAGE=el [for greek]
from extension-manager.
Hey, I don't know if I should write this here or I should open a separate issue, but in the translation for my language I have a problem with a string.
The "Installed" string is used for both the header bar and the "Install" button, which becomes "Installed" if the extension is installed, as you know.
In the header bar, though, it's referring to a plural name ("installed [extensions]") while in the button it's a singular ("[the extension is] installed"), so in languages like Italian where you conjugate also adjectives in one of the two circumstances the string is wrong.
I don't know how to make localization, but would it maybe be possible to make a plural and singular form of the string for use in the header bar and in the button respectively?
from extension-manager.
@PaxtonGround: I did not understand how to integrate the .po file, is it possible to send me an email and I send you the fr.po file by email?
You can download the pot file here (Right Click->Save Link As). Once you've translated it and made fr.po
, you can email it to me at [email protected] and I can commit it for you.
@musiclover382: In the header bar, though, it's referring to a plural name ("installed [extensions]") while in the button it's a singular ("[the extension is] installed"), so in languages like Italian where you conjugate also adjectives in one of the two circumstances the string is wrong. I don't know how to make localization, but would it maybe be possible to make a plural and singular form of the string for use in the header bar and in the button respectively?
That's a good question, I'm not too familiar with gettext either. Taking a look at the GLib documentation, we should be able to use the C_()
macro to provide context to the string. So the header bar might be C_("Navigation", "Installed")
and the button would be C_("State", "Installed")
or something like that. I'll give it a try soon, it might need some changes to our gettext setup.
from extension-manager.
I can translate the app in french
What should we do?
from extension-manager.
Hi @PaxtonGround, thanks for the interest!
Here's a rough overview of how to add a new translation. I'm not sure how familiar you are with translation tools, so I'll give a fairly beginner-focused guide (plus this will be good to write down for others looking to contribute translations). Some git experience is needed.
- Firstly, you'll need a translation tool. I recommend Poedit, which you can get from Flathub.
- The next step is to fork and clone the repository locally.
- Inside Poedit, click the option that says "Create new...". You'll want to select the file
po/extension-manager.pot
. This creates a new translation in your chosen language. It's then a process of translating each English string into the corresponding French one. - Once you're done, save the file as
fr.po
and add the language codefr
to theLINGUAS
file, preferably in alphabetical order. - Then you need to add and commit the files using git. You'll want both
po/fr.po
andpo/LINGUAS
updates included. - For the commit message, I'd recommend something like
po: Add French Translation
. - Push your changes to your fork, and then open a Pull Request
- I'll review and merge your changes :)
For updating an existing translation it's almost the exact same process as above:
- Checkout the latest master branch
- Instead of creating a new translation, open the existing
.po
file - In the menu, select
Translation->Update from POT File...
and openpo/extension-manager.pot
- Translate any new strings, push your changes, and open a PR
Let me know if you're not familiar with git and I can go into more detail.
from extension-manager.
(We now support Weblate! And have a translation guide! 🎉 )
from extension-manager.
can you tell me how to download the .poe file ?
from extension-manager.
@PaxtonGround if you mean the .pot file, you can use wget to download it directly:
wget https://raw.githubusercontent.com/mjakeman/extension-manager/master/po/extension-manager.pot
from extension-manager.
I have sent you the file is it good for you?
from extension-manager.
Hi @PaxtonGround, the file looks good for the most part. There is one issue with the translator-credits
string - that's supposed to be your name (it will appear under 'Translators' in the about dialog).
How do you want to be credited? I can either use your GitHub username or a real name if you want to provide that. I will also need an email address you're comfortable with being public in order to commit the file.
from extension-manager.
from extension-manager.
@PaxtonGround Not sure if you meant to send ***@***.***
or if GitHub has blanked out your email.
Anyhow, I've opened #90 with your changes. If it looks fine, I'll go ahead and merge
from extension-manager.
from extension-manager.
Related Issues (20)
- No Results Found HOT 9
- Disable install button during extension installation HOT 1
- run_app crash HOT 1
- Unexpected Error HOT 1
- Does not support/respect shell-theme HOT 2
- exencion errore HOT 1
- fixed the extension errore HOT 1
- Fail to Use GNOME Extensions Manager and the browser HOT 1
- Text wrapping breaks on selection in ExmCommentTile
- Could not check for updates installing Vitals on LDME HOT 2
- Performance: Don't launch an initial search on an empty SearchEntry
- Performance: Use a longer SearchEntry search-delay activation for better network efficiency
- gnome extension manager search not working HOT 2
- all extinctions are unsupported on new genome v46 HOT 1
- extension manager not supported in cosmic de in fedora40 HOT 2
- unexpected error occured in extension manager HOT 1
- Could not check for updates: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: Объект по пути «/org/gnome/Shell/Extensions» не существует HOT 2
- Unable to install any extension.
- Exention Manager Crashes After Enabling User Themes
- Apply to replace Extensions app as a GNOME Core App
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from extension-manager.