DgisLocalizations class abstract

Callers can lookup localized strings with an instance of DgisLocalizations returned by DgisLocalizations.of(context).

Applications need to include DgisLocalizations.delegate() in their app's localizationDelegates list, and the locales they support in the app's supportedLocales list. For example:

import 'generated/dgis_localizations.dart';

return MaterialApp(
  localizationsDelegates: DgisLocalizations.localizationsDelegates,
  supportedLocales: DgisLocalizations.supportedLocales,
  home: MyApplicationHome(),
);

Update pubspec.yaml

Please make sure to update your pubspec.yaml to include the following packages:

dependencies:
  # Internationalization support.
  flutter_localizations:
    sdk: flutter
  intl: any # Use the pinned version from flutter_localizations

  # Rest of dependencies

iOS Applications

iOS applications define key application metadata, including supported locales, in an Info.plist file that is built into the application bundle. To configure the locales supported by your app, you’ll need to edit this file.

First, open your project’s ios/Runner.xcworkspace Xcode workspace file. Then, in the Project Navigator, open the Info.plist file under the Runner project’s Runner folder.

Next, select the Information Property List item, select Add Item from the Editor menu, then select Localizations from the pop-up menu.

Select and expand the newly-created Localizations item then, for each locale your application supports, add a new item and select the locale you wish to add from the pop-up menu in the Value field. This list should be consistent with the languages listed in the DgisLocalizations.supportedLocales property.

Implementers

Constructors

DgisLocalizations(String locale)

Properties

dgis_better_route_has_been_found String
No description provided for @dgis_better_route_has_been_found.
no setter
dgis_d_days String
No description provided for @dgis_d_days.
no setter
dgis_direct_route String
No description provided for @dgis_direct_route.
no setter
dgis_h__hours String
No description provided for @dgis_h__hours.
no setter
dgis_km String
No description provided for @dgis_km.
no setter
dgis_km_per_h String
No description provided for @dgis_km_per_h.
no setter
dgis_m__meters String
No description provided for @dgis_m__meters.
no setter
dgis_m__minutes String
No description provided for @dgis_m__minutes.
no setter
dgis_min__minutes String
No description provided for @dgis_min__minutes.
no setter
dgis_missing_gps String
No description provided for @dgis_missing_gps.
no setter
dgis_navi_alert_has_been_added String
No description provided for @dgis_navi_alert_has_been_added.
no setter
dgis_navi_arrival String
No description provided for @dgis_navi_arrival.
no setter
dgis_navi_better_route_cancel String
No description provided for @dgis_navi_better_route_cancel.
no setter
dgis_navi_better_route_found_without_time String
No description provided for @dgis_navi_better_route_found_without_time.
no setter
dgis_navi_continue_the_trip String
No description provided for @dgis_navi_continue_the_trip.
no setter
dgis_navi_end_the_trip String
No description provided for @dgis_navi_end_the_trip.
no setter
dgis_navi_failed_to_add_alert String
No description provided for @dgis_navi_failed_to_add_alert.
no setter
dgis_navi_finish String
No description provided for @dgis_navi_finish.
no setter
dgis_navi_freeroam_ride_management String
No description provided for @dgis_navi_freeroam_ride_management.
no setter
dgis_navi_indoor_navigation String
No description provided for @dgis_navi_indoor_navigation.
no setter
dgis_navi_maneuver_next String
No description provided for @dgis_navi_maneuver_next.
no setter
dgis_navi_missing_gps String
No description provided for @dgis_navi_missing_gps.
no setter
dgis_navi_parking String
No description provided for @dgis_navi_parking.
no setter
dgis_navi_parking_lots_on_the_map String
No description provided for @dgis_navi_parking_lots_on_the_map.
no setter
dgis_navi_route_found_same_time String
No description provided for @dgis_navi_route_found_same_time.
no setter
No description provided for @dgis_navi_route_re_search.
no setter
dgis_navi_sound_settings_subtitle_off String
No description provided for @dgis_navi_sound_settings_subtitle_off.
no setter
dgis_navi_sound_settings_subtitle_on String
No description provided for @dgis_navi_sound_settings_subtitle_on.
no setter
dgis_navi_sound_settings_title String
No description provided for @dgis_navi_sound_settings_title.
no setter
dgis_navi_traffic_jams_on_the_road String
No description provided for @dgis_navi_traffic_jams_on_the_road.
no setter
dgis_navi_view_route String
No description provided for @dgis_navi_view_route.
no setter
dgis_public_transport_type_aeroexpress String
No description provided for @dgis_public_transport_type_aeroexpress.
no setter
dgis_public_transport_type_bus String
No description provided for @dgis_public_transport_type_bus.
no setter
dgis_public_transport_type_cable_car String
No description provided for @dgis_public_transport_type_cable_car.
no setter
dgis_public_transport_type_funicular_railway String
No description provided for @dgis_public_transport_type_funicular_railway.
no setter
dgis_public_transport_type_light_metro String
No description provided for @dgis_public_transport_type_light_metro.
no setter
dgis_public_transport_type_mcc String
No description provided for @dgis_public_transport_type_mcc.
no setter
dgis_public_transport_type_mcd String
No description provided for @dgis_public_transport_type_mcd.
no setter
dgis_public_transport_type_metro String
No description provided for @dgis_public_transport_type_metro.
no setter
dgis_public_transport_type_monorail String
No description provided for @dgis_public_transport_type_monorail.
no setter
dgis_public_transport_type_premetro String
No description provided for @dgis_public_transport_type_premetro.
no setter
dgis_public_transport_type_shuttle_bus String
No description provided for @dgis_public_transport_type_shuttle_bus.
no setter
dgis_public_transport_type_speed_tram String
No description provided for @dgis_public_transport_type_speed_tram.
no setter
dgis_public_transport_type_suburban_train String
No description provided for @dgis_public_transport_type_suburban_train.
no setter
dgis_public_transport_type_tram String
No description provided for @dgis_public_transport_type_tram.
no setter
dgis_public_transport_type_trolleybus String
No description provided for @dgis_public_transport_type_trolleybus.
no setter
dgis_public_transport_type_waterway String
No description provided for @dgis_public_transport_type_waterway.
no setter
dgis_road_exit_caption String
No description provided for @dgis_road_exit_caption.
no setter
dgis_route_finish String
No description provided for @dgis_route_finish.
no setter
No description provided for @dgis_route_re_search.
no setter
dgis_route_start String
No description provided for @dgis_route_start.
no setter
dgis_you_have_arrived String
No description provided for @dgis_you_have_arrived.
no setter
hashCode int
The hash code for this object.
no setterinherited
localeName String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dgis_d_days_format(num count) String
No description provided for @dgis_d_days_format.
dgis_get_off_after(String after) String
No description provided for @dgis_get_off_after.
dgis_h__hours_format(num count) String
No description provided for @dgis_h__hours_format.
dgis_km_format(num count) String
No description provided for @dgis_km_format.
dgis_km_per_h_format(num count) String
No description provided for @dgis_km_per_h_format.
dgis_m__meters_format(num count) String
No description provided for @dgis_m__meters_format.
dgis_m__minutes_format(num count) String
No description provided for @dgis_m__minutes_format.
dgis_min__minutes_format(num count) String
No description provided for @dgis_min__minutes_format.
dgis_navi_better_route_found_with_time(num minutes) String
No description provided for @dgis_navi_better_route_found_with_time.
dgis_navi_floor(String floor) String
No description provided for @dgis_navi_floor.
dgis_navi_longer_route_found_with_time(num minutes) String
No description provided for @dgis_navi_longer_route_found_with_time.
dgis_navi_maneuver_exit_named(String name) String
No description provided for @dgis_navi_maneuver_exit_named.
dgis_navi_maneuver_exit_number(num number) String
No description provided for @dgis_navi_maneuver_exit_number.
dgis_on_foot_distance(String distance) String
No description provided for @dgis_on_foot_distance.
dgis_on_foot_duration(String duration) String
No description provided for @dgis_on_foot_duration.
dgis_road_exit_format(int number) String
No description provided for @dgis_road_exit_format.
dgis_stations(num count) String
No description provided for @dgis_stations.
dgis_stops(num count) String
No description provided for @dgis_stops.
dgis_transfers(num count) String
No description provided for @dgis_transfers.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

of(BuildContext context) DgisLocalizations?

Constants

delegate → const LocalizationsDelegate<DgisLocalizations>
localizationsDelegates → const List<LocalizationsDelegate>
A list of this localizations delegate along with the default localizations delegates.
supportedLocales → const List<Locale>
A list of this localizations delegate's supported locales.