Search completed in 0.90 seconds.
Localization content best practices
this document provides best practices for developers to create localizable code, and describes how to avoid some localizability (l12y) common mistakes.
... this document provides best practices for developers to create localizable code, and describes how to avoid some localizability (l12y) common mistakes.
... to read our
localization quick start guide for information on localizing mozilla code.
...And 28 more matches
Localization - Archive of obsolete content
the sdk supports
localization of strings appearing in: your main add-on's javascript code html files packaged with your add-on the title, description and homepage fields of your add-on's metadata the title and description fields of your add-on's preferences.
... the sdk supports
localization of strings appearing in: your main add-on's javascript code html files packaged with your add-on the title, description and homepage fields of your add-on's metadata the title and description fields of your add-on's preferences.
... string you want to localize, consisting of an identifier for the string and its translation in that locale, in the format identifier=translation need to use utf-8 without bom encoding lines starting with "#" (after optional whitespace) are comments suppose your add-on contains a single localizable string, represented in english as "hello!", and you want to supply us english and french french
localizations.
...And 11 more matches
Patching a Localization
say you have found a problem with an existing
localization.
... say you have found a problem with an existing
localization.
... say you have found a problem with an existing
localization.
...And 10 more matches
Localization technical reviews
this guide provides details on what a
localization technical review is, what criteria are used for the technical reviews, and the process for requesting one and following its progress.
... this guide provides details on what a
localization technical review is, what criteria are used for the technical reviews, and the process for requesting one and following its progress.
... this guide provides details on what a
localization technical review is, what criteria are used for the technical reviews, and the process for requesting one and following its progress.
...And 7 more matches
Localization quick start guide
welcome to mozilla
localization (l10n for short)!
... welcome to mozilla
localization (l10n for short)!
... welcome to mozilla
localization (l10n for short)!
...And 6 more matches
Localization sign-off reviews
this article presents an overview of why we do sign-off reviews of
localizations, the details on the criteria used for the sign-off reviews, and the process for requesting a review and for following its progress.
...ew process to perform quality assurance (qa) testing on your l10n efforts.
... who downloads your localized mozilla application receives all of your hard work in a functional product.
...And 4 more matches
Localization formats
warning: this document pertains to the development of mozilla web sites and not to the development of gecko-based extensions or applications.
...new web-dev project takes shape, a project manager should ask themselves these questions and have the answers ready before starting the web l10n process.
...an appear on the staging server disadvantages to html very hard for qa if localizer changes something incorrectly (i.e.
...And 3 more matches
Localization and Plurals
number qualifying the word.
..., the strings to be localized will be placed in a separate file, such as yourextension.properties, instead of being hardcoded in the javascript code file.
...d in the javascript code file.
...And 2 more matches
Localization Use Cases
this article documents a few opportunities to improve the
localization of gaia (the ui layer of firefox os) by using l20n.
...ze(self.appstoragedesc, 'availablesize', freespace); }); }, problem definition for all values of freespace, the following string is enough to construct a grammatically-correct sentence in english: availablesize = {{$size}} {{$unit}} available however, other languages might need to pluralize this string with different forms of the available adjective.
...e" : "other" }> <availablesize[plural($size)] { one: "{{ $size }} {{ $unit }} disponibile", other: "{{ $size }} {{ $unit }} disponibili" }> so far, so good.
...And 2 more matches
Localization - MDN Web Docs Glossary: Definitions of Web-related terms
localization (l10n) is the process of adapting a software user interface to a specific culture.
...raining cats and dogs" makes no sense when translated literally) use of register (e.g., in japanese respectful speech differs exceptionally from casual speech) number format (e.g., 10 000,00 in germany vs.
...sense when translated literally) use of register (e.g., in japanese respectful speech differs exceptionally from casual speech) number format (e.g., 10 000,00 in germany vs.
Localization notes
localizers usually work on the localizable files without the context of the source files including the localized strings; it is important to add comments to the localizable files themselves, too.
...s; it is important to add comments to the localizable files themselves, too.
...elves, too.
Localization: Frequently asked questions
this page lists tweaks and tips that may not require a complete page on its own.
... this page lists tweaks and tips that may not require a complete page on its own.
Localization at Mozilla
localization (l10n) is the process of translating software user interfaces from one language to another and adapting it to suit a foreign culture.
...
localization (l10n) is the process of translating software user interfaces from one language to another and adapting it to suit a foreign culture.
Index
found 42 pages: # page tags and summary 1
localization at mozilla landing,
localization, mozilla, translation, l10n
localization (l10n) is the process of translating software user interfaces from one language to another and adapting it to suit a foreign culture.
... found 42 pages: # page tags and summary 1
localization at mozilla landing,
localization, mozilla, translation, l10n
localization (l10n) is the process of translating software user interfaces from one language to another and adapting it to suit a foreign culture.
...ding,
localization, mozilla, translation, l10n
localization (l10n) is the process of translating software user interfaces from one language to another and adapting it to suit a foreign culture.
...And 75 more matches
Application Translation with Mercurial
check what is available for translation find out on which branch
localization is done for your locale: read your
localization team's page by clicking on the team with your language code (e.g.
... check what is available for translation find out on which branch
localization is done for your locale: read your
localization team's page by clicking on the team with your language code (e.g.
... check what is available for translation find out on which branch
localization is done for your locale: read your
localization team's page by clicking on the team with your language code (e.g.
...And 23 more matches
Localizing without a specialized tool
from the create a new
localization document, an interested localizer can follow a technical step-by-step process that starts the
localization process by focusing on how to localize two of the primary types of
localization files (dtd and properties) used in the mozilla source code.
...y following closely and carefully the steps to create a language pack or a binary file that is ready for installation.
...lication and not a specialized tool, this document (along with create a new
localization) will enable you to learn just what needs to be done.
...And 20 more matches
Bootstrapping a new locale
(see also https://developer.mozilla.org/en/create_a_new_
localization) the documentation here is no longer being maintained and is inaccurate.
... https://developer.mozilla.org/en/create_a_new_
localization) the documentation here is no longer being maintained and is inaccurate.
...illa.org/en/create_a_new_
localization) the documentation here is no longer being maintained and is inaccurate.
...And 13 more matches
Index - Archive of obsolete content
orial we've built and packaged an add-on using three commands: 157 getting started (cfx) in this tutorial we've built and packaged an add-on using three commands: 158 list open tabs add-on sdk no summary!
...d an add-on using three commands: 157 getting started (cfx) in this tutorial we've built and packaged an add-on using three commands: 158 list open tabs add-on sdk no summary!
... add-on sdk, jpm no summary!
...And 11 more matches
Initial setup
as a pre-requisite to contributing to the l10n program, you need to have access to code, tools, and a properly configured local environment (i.e., your personal computer).
...ve access to code, tools, and a properly configured local environment (i.e., your personal computer).
...ere we'll go over the accounts you need as well as the tools and their configurations you need to set up before contributing.
...And 10 more matches
Localizing an extension - Archive of obsolete content
« previousnext » this article expands upon the previous samples on extension writing by adding
localization support to our stock watcher extension.
...em "chrome://stockwatcher2/locale/options.dtd"> we add a similar line to the stockwatcher.xul file: <!doctype overlay system "chrome://stockwatcher2/locale/stockwatcher2.dtd"> in larger applications you might need to use entities from several locale files in a single xul file.
...l, we change this line: <menuitem label="refresh now" oncommand="stockwatcher.refreshinformation()"/> to <menuitem label="&menu_refresh_now.label;" oncommand="stockwatcher.refreshinformation()"/> do this for every string used in each xul file.
...And 7 more matches
Localizing with Koala
) updating working directory 40357 files updated, 0 files merged, 0 files removed, 0 files unresolved configure the locale locale id: x-testing (put your locale's code) version: 3.6 location: choose the folder where you want to keep the localized files or leave empty for now check "mercurial" if you wish to use mercurial to keep the revision history of your files (very recommended) existing
localizations: url: if you're editing an existing
localization or you already have a repository set up (either on hg.mozilla.org or bitbucket), type the url of the remote repository, e.g.
...rial" if you wish to use mercurial to keep the revision history of your files (very recommended) existing
localizations: url: if you're editing an existing
localization or you already have a repository set up (either on hg.mozilla.org or bitbucket), type the url of the remote repository, e.g.
...p (either on hg.mozilla.org or bitbucket), type the url of the remote repository, e.g.
...And 7 more matches
XUL Coding Style Guidelines - Archive of obsolete content
introduction xul, pronounced as "zool", stands for "xml-based user interface language", is a cross platform way of describing user interface.
..., mozilla 5.0, this is not true any more.
... is not true any more.
...And 5 more matches
Release phase
you've made it!
...ide and only present you with the technical information you need to become an official release.
...gistered, the
localization files will live on mozilla mercurial server at hg.mozilla.org.
...And 5 more matches
The Essentials of an Extension - Archive of obsolete content
anslate the extension's description, or even its name.
...m:locale>es-es</em:locale> <em:name>xul school hola mundo</em:name> <em:description>bienvenido a xul school!</em:description> </description> </em:localized> the es-es locale string indicates that this is the spanish (es)
localization for spain (es).
...the most important section, holding user interface (xul) and script (js) files.
...And 4 more matches
Index - Archive of obsolete content
summary!
...r describing application interfaces.
... this document expands on the xul template primer by introducing the <bindings> element in the extended xul template syntax.
...And 4 more matches
QA phase
n repack), which allows you to install next to your existing mozilla application installation and use separately.
...ion installation and use separately.
... in the application.
...And 4 more matches
Translation phase
s client, an html editor, web development tools, and an irc chat client.
... firefox® to your mobile phone, you can access rich web content and enjoy your favorite firefox features wherever you go.
...nd task management extension.
...And 4 more matches
Writing localizable code
this page tells you about best practices and guidelines when dealing with ui code with respect to
localization.
... this page tells you about best practices and guidelines when dealing with ui code with respect to
localization.
... this page tells you about best practices and guidelines when dealing with ui code with respect to
localization.
...And 4 more matches
Localizing extension descriptions
> <em:name>tab sidebar</em:name> <em:description>laat voorbeeldweergaven van uw tabbladen in de zijbalk zien.</em:description> </description> </em:localized> <em:name>tab sidebar</em:name> <em:description>displays previews of your tabs in your sidebar.</em:description> </description> </rdf> all of the metadata mentioned below can be localized in this way.
...o 1.9 before gecko 1.9, add-on developers must go through a special process to define localized add-on descriptions for add-ons targeting toolkit-based apps (such as firefox or thunderbird).
...hes your extension id (<em:id> from install.rdf) and localized_description is the description of your extension that you want to appear in the given language): extensions.extension_id.description=localized_description if you do not currently have one, create a default preferences file.
...And 3 more matches
Localizing extension metadata on addons.mozilla.org
e default locale.
...provide translation assistance to extension authors, but there are a couple services that can help: babelzilla.org babelzilla.org is a community dedicated to the
localization of extensions for moz family apps.
...ut there are a couple services that can help: babelzilla.org babelzilla.org is a community dedicated to the
localization of extensions for moz family apps.
...And 3 more matches
What every Mozilla translator should know
l10n stands for
localization = l + another 10 letters + n mailing lists and other resources there are several mailing lists to keep the track of what's going on, which are available as newsgroups, as well, both on news.mozilla.org and google groups: the main l10n list also available as mozilla.dev.l10n, .l10n in short.
... l10n stands for
localization = l + another 10 letters + n mailing lists and other resources there are several mailing lists to keep the track of what's going on, which are available as newsgroups, as well, both on news.mozilla.org and google groups: the main l10n list also available as mozilla.dev.l10n, .l10n in short.
...to day developing work is done.
...And 3 more matches
L20n HTML Bindings
you can take advantage of html bindings to localize your html documents with l20n.
...load l20n with html bindings we maintain a repository with l20n optimized for production use: one file (~110kb) one file, minified (~35kb) it's recommended to include the l20n.js file as the last script in the head element.
..."default_locale": "en-us", "resources": [ "../locales/{{locale}}/strings.l20n", "/shared/{{locale}}/date.l20n"¨ ] } make html elements localizable use the data-l10n-id attribute on an html element to mark it as localizable.
...And 3 more matches
L20n
note: this document is in draft form/out-of-date — for current documentation please see our documentation on github.
... note: this document is in draft form/out-of-date — for current documentation please see our documentation on github.
...lization.
...And 3 more matches
l10n - Archive of obsolete content
localize strings appearing in the add-on's javascript code.
...hello!
...s enables you to write functional, localizable code without localizing any strings - just make the identifiers the default language: var _ = require("sdk/l10n").get; console.log(_("hello!")); however, this will make it more difficult to maintain your code if you have many
localizations, because any changes to the identifier values break all your .properties files.
...And 2 more matches
2006-10-06 - Archive of obsolete content
summary: mozilla.dev.l10n - october 6, 2006 announcements english united states dictionary english united states dictionary for firefox 2.
... summary: mozilla.dev.l10n - october 6, 2006 announcements english united states dictionary english united states dictionary for firefox 2.
...or firefox 2.
...And 2 more matches
Index - MDN Web Docs Glossary: Definitions of Web-related terms
ative work using a gpl-licensed program must be released under the same terms (free to use, share, study, and modify), the lgpl only requires the lgpl-licensed component of the derivative program to continue using the lgpl, not the whole program.
..., the variable name is only bound to its value within a scope which is not the global scope).
...thin a scope which is not the global scope).
...And 2 more matches
L10n testing with xcode
setting up your l10n testing environment once you have your l10n testing environment set up in xcode, testing your firefox on ios
localization is a breeze.
... setting up your l10n testing environment once you have your l10n testing environment set up in xcode, testing your firefox on ios
localization is a breeze.
...ect folder and replacing the existing strings.
...And 2 more matches
Localizing with Pontoon
pontoon is a web-based, what-you-see-is-what-you-get (wysiwyg),
localization (l10n) tool.
...f the interface is taken by the website being translated.
...s on the resource being localized.
...And 2 more matches
Research and prep
productization is the process of determining a user's choice of default search engines, content and protocol handlers (rss readers, web mail and web calendar), bookmarks, and links to recommended sites on the in-product pages as it relates to their locale.
...it goes beyond string translation.
...dations on what local providers we can use for web services because you're in the market, work in the language, and know your users.
...And 2 more matches
A XUL Bestiary - Archive of obsolete content
la's xml-based user interface language, xul.
...o do with chrome.
...nd begins to suggest some possibilities for xul-as-platform beyond the simple restyling of the browser.
..., that chunk usually contains xul content, css and graphic skin information,
localization strings, and maybe some platform-specific code.
Creating a Language Pack
this page is out of date.
...
localization repack, you first need to go through the initial setup process.
...this file ...
...c/l10n-central x-testing x-testing: browser chrome browser aboutcerterror.dtd // add and localize this file ...
L10n Checks
ched/ $ sudo python setup.py install or, if you're on windows: $ hg clone http://hg.mozilla.org/users/akalla_aviary.pl/silme-patched/ $ cd silme-patched/ $ python setup.py install running it mercurial source (source) mode l10n checks gathers the directories to compare from an ini file, usually found in $app/locales/l10n.ini.
...me-patched/ $ cd silme-patched/ $ python setup.py install running it mercurial source (source) mode l10n checks gathers the directories to compare from an ini file, usually found in $app/locales/l10n.ini.
...es of the locales you want to compare.
...own in a hierarchical form, so in the example above, your files are browser.dtd in ab-cd/browser/chrome/browser and migration.dtd in another directory level deeper.
Mozilla Content Localized in Your Language
this section of the style guide is for you to author.
... this section of the style guide is for you to author.
... name][building and suite numbers][addressee] countries of european languages start from small to big: [addressee][street number and name][building and suite numbers][district][city][state/province][postal code][country] name convention what are the order of family name and given name in your language.
...what is your
localization team's process for identifying and creating new terminology?
Localizing with Mercurial
in mozilla, we use the the mercurial version control system (hg) to manage our source code and
localizations.
...underbird: hg clone https://hg.mozilla.org/comm-central/ cd comm-central python client.py checkout the first command will create a clone of the comm-central repository.
...atches.
...ries on the mozilla server, there's a bit of paper work to be done.
Localizing with Mozilla Translator
lator also.
...directory (for instance, you may have a product for thunderbird, other for seamonkey, other for dom, other for toolkit, etc.) you update your repository copy using your favorite repository tool, and then update the product(s) in mt.
...s temporary nature, don't fit in the user manual.
...ng "untranslated strings" and "view fuzzy" if you are up to date in
localization regularly running qa checks and trying to minimize them.
Creating localizable web applications
om website for example.
...="en"><?= _('privacy policy'); ?></a> don't mingle app logic and localizable content when using pure html if you decide not to use gettext on some pages (e.g.
...%s mb>"), $size); snippet 2.
...anslating.
Mozilla
creating a firefox sidebar web publishers can offer visitors a firefox sidebar to encourage their engagement.
...discussion on extended c++ support see bug 505907.
... bug 505907.
... developers to ship a single binary for use with multiple versions of firefox.
How to convert an overlay extension to restartless - Archive of obsolete content
this article is a step-by-step tutorial on how to convert an old overlay-based extension into a restartless (bootstrapped) extension that is also extractionless.
...om "myaddonname-unload" event and just tear down and clean up when that event or a regular "unload" event comes in.
...wever it will now also load cleanly on add-on updates.
2006-11-17 - Archive of obsolete content
ftp.mozilla.org seamonkey 1.0.6 in czech (cs-cz) seamonkey 1.0.6 in czech (cs-cz) is uploaded to ftp.mozilla.org seamonkey 1.0.6 he-il seamonkey 1.0.6 he-il is released.
... 1.0.6 in czech (cs-cz) seamonkey 1.0.6 in czech (cs-cz) is uploaded to ftp.mozilla.org seamonkey 1.0.6 he-il seamonkey 1.0.6 he-il is released.
...ussions how to translate mozilla to a language called quiché how to translate mozilla to a language called quiché.
Localizing XLIFF files for iOS
firefox for ios uses the xliff xml-based file format to hold and transfer
localization data.
... firefox for ios uses the xliff xml-based file format to hold and transfer
localization data.
... firefox for ios uses the xliff xml-based file format to hold and transfer
localization data.
Web Localizability
localizability (or l12y for short) is a characteristic found in an application or content that enables
localization.
... localizability (or l12y for short) is a characteristic found in an application or content that enables
localization.
...a characteristic found in an application or content that enables
localization.
compare-locales
it requires that you have python 2.7 or 3.5+ installed on your machine.
...ompare-locales running it compare-locales gathers the directories to compare from a toml file, usually found in $app/locales/l10n.toml.
...rarchical form, so in the example above, your files are browser.dtd in ab-cd/browser/chrome/browser and migration.dtd in another directory level deeper.
Activity Manager examples
nents.interfaces.nsiactivityprocess; const nsiae = components.interfaces.nsiactivityevent; const nsiam = components.interfaces.nsiactivitymanager; let gactivitymanager = components.classes["@mozilla.org/activity-manager;1"].getservice(nsiam); let process = components.classes["@mozilla.org/activity-process;1"].createinstance(nsiap); // assuming folder is an instance of nsimsgfolder interface //
localization is omitted, initiator is not provided process.init("processing folder: " + folder.prettiestname, null); // note that we don't define a custom icon, default process icon // will be used process.contexttype = "account"; // group this activity by account process.contextobj = folder.server; // account in question gactivitymanager.addactivity(process); // step 2: showing some progr...
...g some progress let percent = 50; process.setprogress(percent, "junk processing 25 of 50 messages", 25, 50); // step 3: removing the process and adding an event using process' attributes process.state = components.interfaces.nsiactivityprocess.state_completed; gactivitymanager.removeactivity(process.id); let event = components.classes["@mozilla.org/activity-event;1"].createinstance(nsiae); //
localization is omitted, initiator is omitted event.init(folder.prettiestname + " is processed", null, "no junk found", process.starttime, // start time date.now()); // completion time event.contexttype = process.contexttype; // optional event.contextobj = process.contextobj; // optional gactivitymanager.addactivity(event); showing a user-defined activ...
.....
Index - Developer guides
he full web technology stack.
... found 31 pages: 30 introduction to web development beginner, css, codingscripting, development, html, javascript, web whether you're just getting started with web development, or are just expanding your horizons into new realms of web awesomeness, the links here should help you get started.
... possible scenarios: 39 svg-in-opentype draft, fonts, guide, needscontent the svg-in-opentype work is currently in the hands of the mpeg group.
Bootstrapped extensions - Archive of obsolete content
note: an add-on may be upgraded/downgraded at application startup, in this case the startup method reason is app_startup, and the oldversion property is not set.
...f_your_addon en-us locale/ here is an example add-on that opens an html page and a xul page on install: github :: l10n-xhtml-xul.
Adding windows and dialogs - Archive of obsolete content
are several types of dialogs that are fairly common, so there are ways to create them easily without having to reinvent the wheel and write all their xul and js code all over again.
...s without having to worry about your dialog looking odd in some operating systems.
Using Visual Studio as your XUL IDE - Archive of obsolete content
d at: hkey_current_user\software\whole tomato\visual assist x\ find the folder that represents your visual studio version ((vanet8, vanet9, etc.) and add your extensions to the corresponding registry entries extjs and extxml.
...r extensions to the corresponding registry entries extjs and extxml.
2006-11-10 - Archive of obsolete content
summary: mozilla.dev.l10n - november 10, 2006 announcements seamonkey 1.0.5 in belarusian belarusian [be-by]
localization for seamonkey 1.0.5 is available now.
...[be-by]
localization for seamonkey 1.0.5 is available now.
SVN for Localizers
welcome to the svn tutorial for localizers!
... be able to use svn from the command-line to copy directories from the mozilla repositories, make modifications to those repositories by using svn commands like svn up and svn revert, and finally push your localized work to the mozilla repositories.
Building the WebLock UI
or.xul, which means that the overlay mechanism will merge the new ui here (i.e., the weblock statusbarpanel) and the ui already defined within that browser <statusbar/> at runtime.
... external files, which are swapped with dtds for other languages.
Index
artrequest will be called.
...natively, a string bundle can be created within a javascript context with nsistringbundleservice.
Index - Web APIs
190 audiotrack.label api, audio, audio track, audiotrack, html dom, media, property, read-only, reference, label, metadata, track the read-only audiotrack property label returns a string specifying the audio track's human-readable label, if one is available; otherwise, it returns an empty string.
...perty, read-only, reference, sourcebuffer, video, videotrack, track the read-only videotrack property sourcebuffer returns the sourcebuffer that created the track, or null if the track was not created by a sourcebuffer or the sourcebuffer has been removed from the mediasource.sourcebuffers attribute of its parent media source.
Accessibility and Spacial Patterns - Accessibility
spatial
localization nasa conducted research on the perception of color, and found that luminance contrast mattered greatly as to how they were perceived.
... spatial
localization nasa conducted research on the perception of color, and found that luminance contrast mattered greatly as to how they were perceived.
The Box Model - Archive of obsolete content
abel;</description> even then, the text will extend as much as it can in a single line, so you need to add some css limits in order to make it wrap inside a xul dialog or window.
Index of archived content - Archive of obsolete content
chrome authority creating event targets creating reusable modules developing for firefox mobile display a popup getting started (jpm) getting started (cfx) list open tabs listen for page load listening for load and unload
localization logging modifying web pages based on url modifying the page hosted by a tab open a web page troubleshooting unit testing using xpcom without chrome using third-party modules (jpm) bootstrapped extensions c...
XUL Tutorial - Archive of obsolete content
xpcom interfaces xpcom examples trees trees more tree features tree selection custom tree views tree view details tree box objects rdf and templates introduction to rdf templates trees and templates rdf datasources advanced rules persistent data skins and locales adding style sheets styling a tree modifying the default skin creating a skin skinning xul files by hand
localization property files bindings introduction to xbl anonymous content xbl attribute inheritance adding properties adding methods adding event handlers xbl inheritance creating reusable content using css and xbl xbl example specialized window types features of a window creating dialogs open and save dialogs creating a wizard more wizards overlays cross package overlays installat...
stringbundle - Archive of obsolete content
or the given key name in the string bundle and returns a formatted copy where each occurrence of %s (uppercase) is replaced by each successive element in the supplied array.
2006-10-13 - Archive of obsolete content
summary: mozilla.dev.l10n - october 13, 2006 announcements seamonkey 1.0.5 he-il seamonkey 1.0.5 in hebrew was released a while ago firefox 2 rc2 is out firefox 2 rc2 is out, to download click here sunbird_0_3_release tag being created sunbird_0_3_release tag being created seamonkey 1.1
localization freeze and beta upcoming there are no open blockers left.
2006-11-24 - Archive of obsolete content
summary: mozilla.dev.l10n - november 24, 2006 announcements thunderbird 2 release schedule for
localizations beta 1 freeze for thunderbird 2 is scheduled on december 4th (en-us only).
2006-12-01 - Archive of obsolete content
.dic to .xpi mozillatranslator and sourceforge.net about the best way to organize things creating a <locale>.jar file from the cvs structure discussion on how to package a <locale>.jar from the cvs structure without having to download the entire mozilla source.
E4X for templating - Archive of obsolete content
/ useful for placing user input within inline javascript; may be combined with escape function above as well if (typeof s === 'string') { return s.replace(/"/g, '"').replace(/'/g, '''); } if (typeof s === 'xml') { return s.tostring().replace(/"/g, '"').replace(/'/g, '''); } return string(s).replace(/"/g, '"').replace(/'/g, '''); }
localization e4x works nicely with a simple utility for localizing strings of a properties file: //
localization function $s(msg, args){ //get localized message var strs = cc['@mozilla.org/intl/stringbundle;1'].getservice(ci.nsistringbundleservice).
Archive of obsolete content
this list is likely to be incomplete since we think there are many dark matter projects that we don't know about.
MDN Web Docs Glossary: Definitions of Web-related terms
ipv6 irc iso isp itu j jank java javascript jpeg jquery json k key keyword l latency layout viewport lazy load lgpl ligature local scope local variable locale
localization long task loop lossless compression lossy compression ltr (left to right) m main axis main thread markup mathml media media (audio-visual presentation) media (css) metadata method microsoft edge microsoft internet explorer middlew...
Configuring Build Options
use the --enable-extensions option; the build system will automatically select the proper default set of extensions.
Setting up the infrastructure
first, make your project's file type decision (see
localization formats for details): html/php .lang gettext (.po) assuming you chose gettext, you'll need to follow the steps below to set up the infrastructure for localizing your web application.
Mozilla Projects
ta used by the browser, such as bookmarks, history, preferences, bookmarks, and so forth among all your devices.
nsILocaleService
getlocalefromacceptlanguage(in string acceptlanguage); nsilocale getsystemlocale(); nsilocale newlocale(in astring alocale); nsilocale newlocaleobject(in nsilocaledefinition localedefinition); obsolete since gecko 1.9 methods getapplicationlocale() gets the user preference for locale from the operating system.
Building a Thunderbird extension 2: extension file layout
ed in step 8 /install.rdf //created in step 3 /chrome.manifest //created in step 4 /chrome/ /content/ /content/myhelloworld.xul //created in step 5 /content/overlay.js //created in step 6 /chrome/locale/* //building an extension#
localization /chrome/skin/ /defaults/preferences/ //building an extension# defaults files the following tutorial pages will explain how to write each of these files (except locale/ and defaults/) and package them into an xpi (zippy) file.
Using js-ctypes
el = 2; var kcfusernotificationplainalertlevel = 3; // declare functions /* https://developer.apple.com/library/mac/documentation/corefoundation/reference/cfusernotificationref/index.html#//apple_ref/c/func/cfusernotificationdisplaynotice * sint32 cfusernotificationdisplaynotice ( * cftimeinterval timeout, * cfoptionflags flags, * cfurlref iconurl, * cfurlref soundurl, * cfurlref
localizationurl, * cfstringref alertheader, * cfstringref alertmessage, * cfstringref defaultbuttontitle * ); */ var cfusernotificationdisplaynotice = libcf.declare("cfusernotificationdisplaynotice", ctypes.default_abi, sint32, // return cftimeinterval, // timeout cfoptionflags, // flags cfurlref, // iconurl cfurlref, // soundurl cfurlref, //
localizationurl cfstringref, // alert...
<input type="month"> - HTML: Hypertext Markup Language
elect> </span> </div> </div> </form> the <div> with the id nativedatepicker uses the month input type to request the month and year, while the <div> with the id fallbackdatepicker instead uses a pair of <select> elements.
lang - XPath
xslt/xpath reference: xslt elements, exslt functions, xpath functions, xpath axes the lang function determines whether the context node matches the given language and returns boolean true or false.